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

public api : can create object with ezstring containing only a space, even though attribute is required

    XMLWordPrintable

Details

    Description

      Having a class where a ezstring attribute is required
      in admin2 you are not able to create a object (validation error) if you try to publish object if attribute value is " " ( a space )
      using the public API however, you do not get a validation exception

      Attachments

        Activity

          People

            Unassigned Unassigned
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 1 day, 4 hours, 9 minutes Remaining Estimate - 1 hour, 1 minute
                1h 1m
                Logged:
                Time Spent - 1 day, 4 hours, 9 minutes Remaining Estimate - 1 hour, 1 minute
                1d 4h 9m