Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19489

Remove limit of 255 characters for content object name.

    XMLWordPrintable

Details

    Description

      It will be nice to make it possible to remove limit for content object name by setting the following setting in site.ini to 0 (zero).

      > [ContentSettings]
      > ContentObjectNameLimit=0

      Solution:

      1. Small change in condition block in eZContentClass::contentObjectName() - see patch.
      2. Modification in data scheme for column ezcontentobject_name.name from VARCHAR(255) to TEXT regarding recreation of its index.
      ALTER TABLE `ezcontentobject_name` DROP INDEX `ezcontentobject_name_name`;
      ALTER TABLE `ezcontentobject_name` CHANGE `name` `name` TEXT NULL;
      ALTER TABLE `ezcontentobject_name` ADD INDEX `ezcontentobject_name_name` (`name`(255));
      

      Patch for version 2011.5 is applied.

      Attachments

        Activity

          People

            unknown unknown
            eugenes eugenes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: