You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "paolo di tommaso (JIRA)" <ji...@apache.org> on 2006/10/18 10:24:35 UTC

[jira] Created: (WICKET-9) OnError does not work on file upload exceding max size

OnError does not work on file upload exceding max size
------------------------------------------------------

                 Key: WICKET-9
                 URL: http://issues.apache.org/jira/browse/WICKET-9
             Project: Wicket
          Issue Type: Bug
            Reporter: paolo di tommaso


The Form#onError method is not invoked when a user is uploading a file bigger than the max size attribute specified.

This is a strange behaviour because an error message is set correctly but is not possible to intercept the reasing error event. 

This happens because Form#handleMultiPart() set an error in the form component and retun false, so Form#process() is not called and nobody invoke Form#onError().





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (WICKET-9) OnError does not work on file upload exceding max size

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WICKET-9?page=all ]

Igor Vaynberg updated WICKET-9:
-------------------------------

    Affects Version/s: 1.2.3

> OnError does not work on file upload exceding max size
> ------------------------------------------------------
>
>                 Key: WICKET-9
>                 URL: http://issues.apache.org/jira/browse/WICKET-9
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>            Reporter: paolo di tommaso
>
> The Form#onError method is not invoked when a user is uploading a file bigger than the max size attribute specified.
> This is a strange behaviour because an error message is set correctly but is not possible to intercept the reasing error event. 
> This happens because Form#handleMultiPart() set an error in the form component and retun false, so Form#process() is not called and nobody invoke Form#onError().

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WICKET-9) OnError does not work on file upload exceding max size

Posted by "paolo di tommaso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479999 ] 

paolo di tommaso commented on WICKET-9:
---------------------------------------

Nice, thanks



> OnError does not work on file upload exceding max size
> ------------------------------------------------------
>
>                 Key: WICKET-9
>                 URL: https://issues.apache.org/jira/browse/WICKET-9
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>            Reporter: paolo di tommaso
>             Fix For: 1.2.6
>
>
> The Form#onError method is not invoked when a user is uploading a file bigger than the max size attribute specified.
> This is a strange behaviour because an error message is set correctly but is not possible to intercept the reasing error event. 
> This happens because Form#handleMultiPart() set an error in the form component and retun false, so Form#process() is not called and nobody invoke Form#onError().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-9) OnError does not work on file upload exceding max size

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius resolved WICKET-9.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.6

Sorry this one was handled so late. Fixed for 1.2.6

> OnError does not work on file upload exceding max size
> ------------------------------------------------------
>
>                 Key: WICKET-9
>                 URL: https://issues.apache.org/jira/browse/WICKET-9
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>            Reporter: paolo di tommaso
>             Fix For: 1.2.6
>
>
> The Form#onError method is not invoked when a user is uploading a file bigger than the max size attribute specified.
> This is a strange behaviour because an error message is set correctly but is not possible to intercept the reasing error event. 
> This happens because Form#handleMultiPart() set an error in the form component and retun false, so Form#process() is not called and nobody invoke Form#onError().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.