Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ContentObjectNameLimit

Summary

sets the maximum length of content object name of content objects in characters

Usage

ContentObjectNameLimit=255

Description

This setting is available since eZ Publish 4.5 and it sets the maximum length of content object name of content objects in characters, the 255 maximum limit is the maximum size of the content object name column in the database.

Note on file names length: For best possible cross OS support it is recommended to keep the maximum limit below 220 for some head room on the generated binary files names that reuse the content object name as some file systems limit file names to 255 characters.

Note on Oracle: On Oracle the column size of content object name is counted in bytes, and since utf-8 takes 4 bytes pr character on anything but ASCII characters, we therefor recommend max length to be set to 63 characters on Oracle installations to avoid getting a database error.

Changes to this setting will not affect existing content until it is updated or until you execute dedicated script for updating content object names as described here.
Script can be found in update/common/scripts/updatecontentobjectname.php 

Examples

Default:

ContentObjectNameLimit=155

André R. (14/08/2013 2:46 pm)

André R. (19/08/2013 2:48 pm)


Comments

There are no comments.