You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sander Evers (JIRA)" <ji...@apache.org> on 2016/01/28 14:03:40 UTC

[jira] [Updated] (WICKET-6084) ajax request failure handler receives incorrect arguments

     [ https://issues.apache.org/jira/browse/WICKET-6084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sander Evers updated WICKET-6084:
---------------------------------
    Attachment: ajax-fh-bug.zip

Quickstart included to reproduce bug and demonstrate the fix.

> ajax request failure handler receives incorrect arguments
> ---------------------------------------------------------
>
>                 Key: WICKET-6084
>                 URL: https://issues.apache.org/jira/browse/WICKET-6084
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.1.0
>            Reporter: Sander Evers
>            Priority: Minor
>              Labels: ajax
>         Attachments: ajax-fh-bug.zip
>
>
> According to {{AbstractDefaultAjaxBehavior.FAILURE_HANDLER_FUNCTION_TEMPLATE}}, the ajax request failure handler that a user can register should receive the arguments {{attrs, jqXHR, errorMessage, textStatus}}. However, the arguments actually passed to the handler are {{attrs, errorMessage}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)