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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 5.1, 5.2-dev
    • Component/s: None
    • Labels:
    • Sprint:
      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.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Backlog Backlog
          20h 7m 1 André Rømcke 12/Jun/13 2:29 PM
          Backlog Backlog Development Development
          6d 22h 35m 1 Petar Spanja (Inactive) 19/Jun/13 1:05 PM
          Development Development Development Review Development Review
          1d 23h 27m 1 Petar Spanja (Inactive) 21/Jun/13 12:32 PM
          Development Review Development Review Development Review done Development Review done
          16d 6h 35m 1 Petar Spanja (Inactive) 07/Jul/13 7:08 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          7s 1 Petar Spanja (Inactive) 07/Jul/13 7:08 PM
          Documentation Review done Documentation Review done QA QA
          17h 34m 1 Marcos Loureiro (Inactive) 08/Jul/13 12:42 PM
          QA QA Closed Closed
          1h 52m 1 Marcos Loureiro (Inactive) 08/Jul/13 2:35 PM
          Closed Closed Reopened Reopened
          10d 19h 46m 2 Petar Spanja (Inactive) 19/Jul/13 10:21 AM
          Reopened Reopened Closed Closed
          0s 2 Petar Spanja (Inactive) 19/Jul/13 10:21 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              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

                  Agile