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

Object names longer than 255 characters fails with db transaction error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2011.12
    • Database related
    • None
    • Operating System: Ubuntu 10.04.4 LTS
      PHP Version: 5.3.2
      Database and version: MySQL 5.1.41
      Browser (and version): All

    Description

      If generated object name becomes longer than 255 chars, eZ will fail with a database transaction error.

      I suggest the name is truncated to for example 240 chars + numbering if several objects have the same name.

      Steps to reproduce

      Just use for example a text block attribute as basis for name, enter a long text and voilá.

      Attachments

        Activity

          People

            unknown unknown
            atlep atlep
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: