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

DateAndTime field type setting 'dateInterval' can be used only when setting 'defaultType' is set to 'DEFAULT_CURRENT_DATE_ADJUSTED'

    XMLWordPrintable

    Details

      Description

      When saving a content type containing a DateAndTime field type, the following error shows if "Default value" is set to any other value than "Adjusted current datetime":

      Setting 'dateInterval' can be used only when setting 'defaultType' is set to 'DEFAULT_CURRENT_DATE_ADJUSTED'

      Secondary issue: The error message should be easier to understand. E.g. it should say "Adjusted current datetime" instead of "DEFAULT_CURRENT_DATE_ADJUSTED", because that's what the user sees.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gunnstein.lye@ez.no Gunnstein Lye
            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:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 35 minutes
                1d 3h 35m