Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4519

datebox constraint parsing errors if there are numbers in message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.6.3
    • Fix Version/s: 9.0.1
    • Component/s: None
    • Labels:

      Description

      Steps to Reproduce

      https://zkfiddle.org/sample/6kigls/1-datebox-constraint-message-error-case

      Current Result

      Invalid constraint: before 20200308:????7?(?) (the constraint should be formatted in yyyyMMdd)

      Expected Result

      it's a valid constraint

       

      Debug Information

      the isValidConstraint method check constraint didn't consider the message(the string behind ":")
      it take the "7" in the message as a date constraint

      Workaround

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Leon03 Leon03
              Reporter:
              Leon03 Leon03
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified