Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-708

Fix date input fields in Audit search form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.53
    • Fix Version/s: 2.4.59
    • Component/s: Web UI
    • Release Notes Summary:
      Date input fields work in the Audit search form.
    • Backlog priority:
      900
    • Team:
      UI
    • Sprint:
      UI - 2022-02, UI Cooldown - 2022-02

      Description

      Since HF53 users can't search in Audit with dates included in the form. This commit seems to have introduced the issue (nuxeo-audit.html#L184-L187).

      Reproduction steps
      In WebUI:

      • Go to the Audit page
      • Search using "from" and "to"

      Outcome
      Users are not able to search. In Chrome developper console:

      Uncaught TypeError: this.startDate.moment is not a function
          at HTMLElement._buildParams (elements.html-121.js:54:45)
          at HTMLElement._refresh (elements.html-121.js:70:41)
          at Object.runMethodEffect [as fn] (nuxeo-app.html-13.js:798:17)
          at runEffectsForProperty (nuxeo-app.html-13.js:142:14)
          at runEffects (nuxeo-app.html-13.js:108:13)
          at HTMLElement._propertiesChanged (nuxeo-app.html-13.js:1692:9)
          at HTMLElement._flushProperties (nuxeo-app.html-10.js:327:18)
          at HTMLElement._flushProperties (nuxeo-app.html-13.js:1540:15)
          at HTMLElement._invalidateProperties (nuxeo-app.html-13.js:1512:16)
          at runNotifyEffects (nuxeo-app.html-13.js:241:12)
      

      This will also block subsequent searches in the Audit page, unless the page is refreshed.

      Expected outcome
      Users should be able to search in Audit with dates included in the form.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m