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

Object creation does not respect attribute constraints in ezoe

    XMLWordPrintable

Details

    Description

      inserting an image using the ezOE popup on a xmlblock does not respect constraints defined for the attribute in the class.

      example:

      • open any article
      • in a xml block, open the popup to insert an image
      • in the name field, insert a string with more than 150 chars(the limit defined on 'image' class)
      • no error/warning shows
      • in file system and DB the object name will have the full length string

      as a control test, try to create the same image as a regular object. inserting the same string on the name invalidates publish with an error of string too long.

      check also extension/ezoe/modules/ezoe/upload.php
      around lines 140-160 several TODOs are declared just for this effect.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours
                1d 5h