Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-422

Time without date won't get validated, when kDateFormatter is used

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2-B2
    • Fix Version/s: 5.0.3-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      In case if you have field, that is defined using mentioned above code, then it's never gonna be validated (combination of input_date_format and required options) - HeatingTime_date field will always be empty and of course required.

      'Fields' => Array(
      'HeatingTime' => Array (
      'type' => 'int',
      'formatter' => 'kDateFormatter', 'date_format' => '', 'input_date_format' => '', 'time_format' => 'i:s', 'input_time_format' => 'i:s',
      'required' => 1,
      ),
      ),

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: