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

Fallback default value of some of the FieldTypes can not be used to create Content

    XMLWordPrintable

Details

    • Aconcagua Sprint 1, Aconcagua Sprint 2

    Description

      Fallback default value returned by the getEmptyValue() method of some of the FieldTypes will produce an error if used in creation of Content.
      Exception will be thrown by FieldType::acceptValue().

      While the intention of this method is not to provide a default empty value for creation of Content (null can be used instead), nothing prevents user to use it in such a way.

      Proposed: update FieldType implementations so that acceptValue() can process such a value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 2 hours, 15 minutes
                4d 2h 15m