You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeff Bailey (JIRA)" <ji...@apache.org> on 2012/07/26 01:18:34 UTC

[jira] [Created] (WICKET-4673) JavaScript error when submitting nested multipart form

Jeff Bailey created WICKET-4673:
-----------------------------------

             Summary: JavaScript error when submitting nested multipart form
                 Key: WICKET-4673
                 URL: https://issues.apache.org/jira/browse/WICKET-4673
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.0.0-beta3
         Environment: wicket 6.0.0-beta3, Chrome
            Reporter: Jeff Bailey


When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):

ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4673) JavaScript error when submitting nested multipart form

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

Jeff Bailey updated WICKET-4673:
--------------------------------

    Attachment: nestedforms.zip

Quickstart demonstrating the error

browse to http://localhost:8080/ and click on the "Inner Submit" button.
                
> JavaScript error when submitting nested multipart form
> ------------------------------------------------------
>
>                 Key: WICKET-4673
>                 URL: https://issues.apache.org/jira/browse/WICKET-4673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: wicket 6.0.0-beta3, Chrome
>            Reporter: Jeff Bailey
>         Attachments: nestedforms.zip
>
>
> When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):
> ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4673) JavaScript error when submitting nested multipart form

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422973#comment-13422973 ] 

Martin Grigorov commented on WICKET-4673:
-----------------------------------------

A fix is committed in master branch.
I'll close the ticket when I add some unit tests.
                
> JavaScript error when submitting nested multipart form
> ------------------------------------------------------
>
>                 Key: WICKET-4673
>                 URL: https://issues.apache.org/jira/browse/WICKET-4673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: wicket 6.0.0-beta3, Chrome
>            Reporter: Jeff Bailey
>            Assignee: Martin Grigorov
>         Attachments: nestedforms.zip
>
>
> When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):
> ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4673) JavaScript error when submitting nested multipart form

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

Martin Grigorov resolved WICKET-4673.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0

Test added.
                
> JavaScript error when submitting nested multipart form
> ------------------------------------------------------
>
>                 Key: WICKET-4673
>                 URL: https://issues.apache.org/jira/browse/WICKET-4673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: wicket 6.0.0-beta3, Chrome
>            Reporter: Jeff Bailey
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0
>
>         Attachments: nestedforms.zip
>
>
> When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):
> ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (WICKET-4673) JavaScript error when submitting nested multipart form

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

Martin Grigorov reassigned WICKET-4673:
---------------------------------------

    Assignee: Martin Grigorov
    
> JavaScript error when submitting nested multipart form
> ------------------------------------------------------
>
>                 Key: WICKET-4673
>                 URL: https://issues.apache.org/jira/browse/WICKET-4673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: wicket 6.0.0-beta3, Chrome
>            Reporter: Jeff Bailey
>            Assignee: Martin Grigorov
>         Attachments: nestedforms.zip
>
>
> When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):
> ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4673) JavaScript error when submitting nested multipart form

Posted by "Jeff Bailey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423080#comment-13423080 ] 

Jeff Bailey commented on WICKET-4673:
-------------------------------------

Thanks Martin
                
> JavaScript error when submitting nested multipart form
> ------------------------------------------------------
>
>                 Key: WICKET-4673
>                 URL: https://issues.apache.org/jira/browse/WICKET-4673
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>         Environment: wicket 6.0.0-beta3, Chrome
>            Reporter: Jeff Bailey
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0
>
>         Attachments: nestedforms.zip
>
>
> When attempting to submit a nested form containing a FileUploadField via AjaxButton, the following JavaScript error is reported (via Wicket Debug Panel):
> ERROR: An error occurred while executing Ajax request:TypeError: Object #<HTMLDivElement> has no method 'submit'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira