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

          Petar Spanja (Inactive) created issue -
          Petar Spanja (Inactive) made changes -
          Field Original Value New Value
          Link This issue discovered while testing EZP-20936 [ EZP-20936 ]
          André Rømcke made changes -
          Status Open [ 1 ] Backlog [ 10000 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Assignee Petar Spanja [ petar.spanja@ez.no ]
          André Rømcke made changes -
          Sprint Aconcagua Sprint 1 [ 10 ]
          André Rømcke made changes -
          Rank Ranked lower
          André Rømcke made changes -
          Remaining Estimate 1 day [ 28800 ]
          André Rømcke made changes -
          Original Estimate 1 day [ 28800 ]
          Petar Spanja (Inactive) made changes -
          Status Backlog [ 10000 ] Development [ 3 ]
          Petar Spanja (Inactive) made changes -
          Link This issue testing discovered EZP-21115 [ EZP-21115 ]
          Petar Spanja (Inactive) made changes -
          Remaining Estimate 1 day [ 28800 ] 5 hours [ 18000 ]
          Time Spent 3 hours [ 10800 ]
          Worklog Id 35469 [ 35469 ]
          Petar Spanja (Inactive) made changes -
          Remaining Estimate 5 hours [ 18000 ] 0 minutes [ 0 ]
          Time Spent 3 hours [ 10800 ] 1 day, 3 hours [ 39600 ]
          Worklog Id 35470 [ 35470 ]
          Petar Spanja (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 3 hours [ 39600 ] 1 day, 4 hours [ 43200 ]
          Worklog Id 35602 [ 35602 ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Sprint Aconcagua Sprint 1 [ 10 ] Aconcagua Sprint 1, Aconcagua Sprint 2 [ 10, 11 ]
          Petar Spanja (Inactive) made changes -
          Link This issue testing discovered EZP-21148 [ EZP-21148 ]
          Patrick Allaert (Inactive) made changes -
          Time Spent 1 day, 4 hours [ 43200 ] 1 day, 5 hours [ 46800 ]
          Worklog Id 36013 [ 36013 ]
          Patrick Allaert (Inactive) made changes -
          Time Spent 1 day, 5 hours [ 46800 ] 1 day, 5 hours, 25 minutes [ 48300 ]
          Worklog Id 36040 [ 36040 ]
          Patrick Allaert (Inactive) made changes -
          Time Spent 1 day, 5 hours, 25 minutes [ 48300 ] 1 day, 5 hours, 35 minutes [ 48900 ]
          Worklog Id 36088 [ 36088 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 5 hours, 35 minutes [ 48900 ] 1 day, 7 hours, 15 minutes [ 54900 ]
          Worklog Id 35602 [ 35602 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 1 day, 7 hours, 15 minutes [ 54900 ] 2 days, 15 minutes [ 58500 ]
          Worklog Id 35602 [ 35602 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 2 days, 15 minutes [ 58500 ] 2 days, 6 hours, 15 minutes [ 80100 ]
          Worklog Id 36151 [ 36151 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 2 days, 6 hours, 15 minutes [ 80100 ] 3 days, 4 hours, 15 minutes [ 101700 ]
          Worklog Id 36152 [ 36152 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 3 days, 4 hours, 15 minutes [ 101700 ] 3 days, 5 hours, 45 minutes [ 107100 ]
          Worklog Id 36155 [ 36155 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 3 days, 5 hours, 45 minutes [ 107100 ] 3 days, 6 hours, 15 minutes [ 108900 ]
          Worklog Id 36163 [ 36163 ]
          Petar Spanja (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Petar Spanja (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Marcos Loureiro (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Petar Spanja [ petar.spanja@ez.no ] Marcos Loureiro [ marcos.loureiro@ez.no ]
          Marcos Loureiro (Inactive) made changes -
          Assignee Marcos Loureiro [ marcos.loureiro@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Marcos Loureiro (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Marcos Loureiro (Inactive) made changes -
          Time Spent 3 days, 6 hours, 15 minutes [ 108900 ] 4 days, 1 hour, 45 minutes [ 121500 ]
          Worklog Id 36256 [ 36256 ]
          Marcos Loureiro (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Petar Spanja (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Petar Spanja (Inactive) made changes -
          Time Spent 4 days, 1 hour, 45 minutes [ 121500 ] 4 days, 2 hours, 15 minutes [ 123300 ]
          Worklog Id 36661 [ 36661 ]
          Petar Spanja (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Link This issue is duplicated by EZP-21089 [ EZP-21089 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 56076 ] EZ* Development Workflow [ 83921 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83921 ] EZEE Development Workflow [ 122544 ]

            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