Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66312

pendingPromise in form-autocomplete is inside out

XMLWordPrintable

      In the blur event for form-autocomplete we create a pendingPromise to ensure that behat does not move on to a next step.
      However we are then adding .then conditions to that promise.

      Unfortunately that means that we complete the M.util.js_complete before we actually select the item or close the list.

      It's not a major bug, but it could theoretically cause some random failures and we should fix it.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Shamim Rezaie Shamim Rezaie
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 55 minutes
                1h 55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.