diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 3d799367f..b596088db 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -113,6 +113,7 @@ - fix: Admin Console templates have the same title - fix: File Titles not displaying in folder - fix: List View Reporting Wrong Dates + - fix: too small of a field for content profiling 7.5.10 - fix: Syntax error in GetCsMail diff --git a/docs/upgrades/upgrade_7.5.10-7.5.11.pl b/docs/upgrades/upgrade_7.5.10-7.5.11.pl index 064743d44..b4c8fa57c 100644 --- a/docs/upgrades/upgrade_7.5.10-7.5.11.pl +++ b/docs/upgrades/upgrade_7.5.10-7.5.11.pl @@ -79,6 +79,7 @@ addUserListWobject( $session ); addInheritUrlFromParent( $session ); addDefaultFilesPerPage( $session ); fixAdminConsoleTemplateTitles( $session ); +makeLongerAssetMetadataValues( $session ); removeOldCommerceCode($session); convertDataForm( $session ); @@ -1812,6 +1813,20 @@ sub fixAdminConsoleTemplateTitles { 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 -------------------------------- #---------------------------------------------------------------------------- diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index bce69d864..92b8bcf18 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -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.| }, - 'Field Name description' => { - message => q|

The name of this metadata property. It must be unique.
+ 'Field Name description' => { + message => q|

The name of this metadata property. It must be unique.
It is advisable to use only letters (a-z), numbers (0-9) or underscores (_) for -the field names.

|, - lastUpdated => 1167186196, - }, +the field names, and only be less than 100 characters long.

|, + lastUpdated => 1213247248, + }, - 'Metadata Description description' => { - message => q|

An optional description for this metadata property. This text is displayed + 'Metadata Description description' => { + message => q|

An optional description for this metadata property. This text is displayed as mouseover text in the asset properties tab.

|, - lastUpdated => 1129329870, - }, + lastUpdated => 1129329870, + }, - 'Data Type description' => { - message => q|

Choose the type of form element for this field.

|, - lastUpdated => 1129329870, - }, + 'Data Type description' => { + message => q|

Choose the type of form element for this field.

|, + lastUpdated => 1129329870, + }, - 'Possible Values description' => { - message => q|

This field is used only for the Radio List and Select List data types. Enter -the values you wish to appear, one per line.

|, - lastUpdated => 1129329870, - }, + 'Possible Values description' => { + message => q|

This field is used only for the Radio List and Select List data types. Enter +the values you wish to appear, one per line. Each line should be less than 255 characters long.

|, + lastUpdated => 1213247476, + }, 'metadata edit property' => { message => q|Metadata, Edit|, @@ -652,33 +652,35 @@ the values you wish to appear, one per line.

|, }, '107' => { lastUpdated => 1031514049, - message => q|Security| + message => q|Security|, }, '174' => { lastUpdated => 1031514049, - message => q|Display the title?| + message => q|Display the title?|, }, '487' => { lastUpdated => 1031514049, - 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.| + message => q|Possible Values|, }, + + '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' => { lastUpdated => 1089039511, context => q|Field label for the Export Page operation|, - message => q|Depth| + message => q|Depth|, }, '964' => { lastUpdated => 1052850265, - message => q|Manage system trash.| + message => q|Manage system trash.|, }, '105' => { lastUpdated => 1046638916,