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

In Textline fieldtype, is being permitted the "default value" length to be bigger than "Maximum length"

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • QA tracked issues
    • 2015.11.2, 16.02, 1.4.0-beta1, 1.7.0, 1.7.1, 1.8.0, 1.7.2, 1.8.1, 1.9.0-rc
    • Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1
      Database and version: Mysql 5.5.46-0+deb8u1
      Browser (and version): Firefox 43

    Description

      Steps to Reproduce
      • Create one content type with a textline fieldtype, where:
        Maximum length = 4
        Default Value = 12345
      • Save the content type - The content type is saved without any warning or error

      The consequences:

      • now create one object of previous content type - the default value is pre-filled with "12345"
      • Without changing anything, try to publish the object - an error occur

      Aditional note: If after, we edit the created content type, try to publish it, then the validation is performed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: