extend assetMetaData values to 255 characters. update hoverhelp

This commit is contained in:
Colin Kuskie 2008-06-12 05:36:53 +00:00
parent dc813c7d3c
commit 1391eca387
3 changed files with 50 additions and 32 deletions

View file

@ -113,6 +113,7 @@
- fix: Admin Console templates have the same title - fix: Admin Console templates have the same title
- fix: File Titles not displaying in folder - fix: File Titles not displaying in folder
- fix: List View Reporting Wrong Dates - fix: List View Reporting Wrong Dates
- fix: too small of a field for content profiling
7.5.10 7.5.10
- fix: Syntax error in GetCsMail - fix: Syntax error in GetCsMail

View file

@ -79,6 +79,7 @@ addUserListWobject( $session );
addInheritUrlFromParent( $session ); addInheritUrlFromParent( $session );
addDefaultFilesPerPage( $session ); addDefaultFilesPerPage( $session );
fixAdminConsoleTemplateTitles( $session ); fixAdminConsoleTemplateTitles( $session );
makeLongerAssetMetadataValues( $session );
removeOldCommerceCode($session); removeOldCommerceCode($session);
convertDataForm( $session ); convertDataForm( $session );
@ -1812,6 +1813,20 @@ sub fixAdminConsoleTemplateTitles {
print "DONE!\n" unless $quiet; print "DONE!\n" unless $quiet;
} }
#----------------------------------------------------------------------------
# Make longer asset metadata values
sub makeLongerAssetMetadataValues {
my $session = shift;
print "\tLengthening asset metadata values to 255 characters... " unless $quiet;
$session->db->write(
q{ ALTER TABLE `metaData_properties` CHANGE COLUMN defaultValue defaultValue VARCHAR(255) },
);
$session->db->write(
q{ ALTER TABLE `metaData_values` CHANGE COLUMN value value VARCHAR(255) },
);
print "DONE!\n" unless $quiet;
}
# -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- # -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------

View file

@ -536,29 +536,29 @@ throughout the site. Check yes if you want this Asset to be available as a pack
context => q|The title of the content profiling manager for the admin console.| context => q|The title of the content profiling manager for the admin console.|
}, },
'Field Name description' => { 'Field Name description' => {
message => q|<p>The name of this metadata property. It must be unique. <br /> message => q|<p>The name of this metadata property. It must be unique. <br />
It is advisable to use only letters (a-z), numbers (0-9) or underscores (_) for It is advisable to use only letters (a-z), numbers (0-9) or underscores (_) for
the field names.</p>|, the field names, and only be less than 100 characters long.</p>|,
lastUpdated => 1167186196, lastUpdated => 1213247248,
}, },
'Metadata Description description' => { 'Metadata Description description' => {
message => q|<p>An optional description for this metadata property. This text is displayed message => q|<p>An optional description for this metadata property. This text is displayed
as mouseover text in the asset properties tab.</p>|, as mouseover text in the asset properties tab.</p>|,
lastUpdated => 1129329870, lastUpdated => 1129329870,
}, },
'Data Type description' => { 'Data Type description' => {
message => q|<p>Choose the type of form element for this field.</p>|, message => q|<p>Choose the type of form element for this field.</p>|,
lastUpdated => 1129329870, lastUpdated => 1129329870,
}, },
'Possible Values description' => { 'Possible Values description' => {
message => q|<p>This field is used only for the Radio List and Select List data types. Enter message => q|<p>This field is used only for the Radio List and Select List data types. Enter
the values you wish to appear, one per line.</p>|, the values you wish to appear, one per line. Each line should be less than 255 characters long.</p>|,
lastUpdated => 1129329870, lastUpdated => 1213247476,
}, },
'metadata edit property' => { 'metadata edit property' => {
message => q|Metadata, Edit|, message => q|Metadata, Edit|,
@ -652,33 +652,35 @@ the values you wish to appear, one per line.</p>|,
}, },
'107' => { '107' => {
lastUpdated => 1031514049, lastUpdated => 1031514049,
message => q|Security| message => q|Security|,
}, },
'174' => { '174' => {
lastUpdated => 1031514049, lastUpdated => 1031514049,
message => q|Display the title?| message => q|Display the title?|,
}, },
'487' => { '487' => {
lastUpdated => 1031514049, lastUpdated => 1031514049,
message => q|Possible Values| message => q|Possible Values|,
},
'default value' => {
lastUpdated => 0,
message => q|Default Value(s)|
},
'default value description' => {
lastUpdated => 0,
message => q|The default value for this field. If there are multiple default values, as in the
case of the check box list, then enter one per line.|
}, },
'default value' => {
message => q|Default Value(s)|,
lastUpdated => 0,
},
'default value description' => {
message => q|The default value for this field. If there are multiple default values, as in the
case of the check box list, then enter one per line. The total amount of data is limited to 255 characters.|,
lastUpdated => 1213248323,
},
'Depth' => { 'Depth' => {
lastUpdated => 1089039511, lastUpdated => 1089039511,
context => q|Field label for the Export Page operation|, context => q|Field label for the Export Page operation|,
message => q|Depth| message => q|Depth|,
}, },
'964' => { '964' => {
lastUpdated => 1052850265, lastUpdated => 1052850265,
message => q|Manage system trash.| message => q|Manage system trash.|,
}, },
'105' => { '105' => {
lastUpdated => 1046638916, lastUpdated => 1046638916,