Wicket
  1. Wicket
  2. WICKET-5050

AutoComplete should not request suggestions if input is no longer active element

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      If an ajax change event handler disables and re-renders an AutoCompleteTextField, a pending ajax request for suggestions will trigger a ListenerInvocationNotAllowedExecption. This leads to a log warning "behavior not enabled; ignore call" but the redirect to the AccessDeniedPage is ignored by wicket-autocomplete.js.

        Activity

        Hide
        Sven Meier added a comment -

        A precondition now makes sure that the element is still activate.

        Show
        Sven Meier added a comment - A precondition now makes sure that the element is still activate.

          People

          • Assignee:
            Sven Meier
            Reporter:
            Sven Meier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development