Find document feature crashes on non standard date format

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.26.1, 1.28.1
    • Component/s: None
    • None
    • Environment:
      Ubuntu 20.04
    • 5
    • None
    • None

      Problem Description

      In the find document section one can type queries like this:

      {delayed_until: new Date("2021-05-25T14:49:29.002Z")}

      This works fine. However, if the format is malformed, the search query can no longer be entered:

      {delayed_until: new Date("202105-25T14:49:29.002Z")} 

      The application inserts a newline instead of running the query once `enter` is hit. Clicking the FIND button works but it is not doing anything.

      Expected Results

      An error should be show that the format is malformed and the FIND button should be disabled.

            Assignee:
            Unassigned
            Reporter:
            Liara Schäfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: