You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "manuel barzi (JIRA)" <ji...@apache.org> on 2007/05/28 14:50:16 UTC

[jira] Created: (WICKET-596) FileUploadFields clear after failed validation

FileUploadFields clear after failed validation
----------------------------------------------

                 Key: WICKET-596
                 URL: https://issues.apache.org/jira/browse/WICKET-596
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.6
         Environment: Windows / UNIX-like, Jetty / Tomcat
            Reporter: manuel barzi


In a page with feedback panel, where there are one or more FileUploadField components, and there's also validation of other input fields, when the form is submitted and one or more validations rules fail, then the page is shown again with the feedback panel information, all input fields are keeping state, but FileUploadFields not! They loose state when refreshing the page after a failing validation.

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


[jira] Assigned: (WICKET-596) FileUploadFields clear after failed validation

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

Eelco Hillenius reassigned WICKET-596:
--------------------------------------

    Assignee: Eelco Hillenius

> FileUploadFields clear after failed validation
> ----------------------------------------------
>
>                 Key: WICKET-596
>                 URL: https://issues.apache.org/jira/browse/WICKET-596
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6
>         Environment: Windows / UNIX-like, Jetty / Tomcat
>            Reporter: manuel barzi
>            Assignee: Eelco Hillenius
>
> In a page with feedback panel, where there are one or more FileUploadField components, and there's also validation of other input fields, when the form is submitted and one or more validations rules fail, then the page is shown again with the feedback panel information, all input fields are keeping state, but FileUploadFields not! They loose state when refreshing the page after a failing validation.

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


[jira] Resolved: (WICKET-596) FileUploadFields clear after failed validation

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

Alastair Maw resolved WICKET-596.
---------------------------------

    Resolution: Invalid

I'm afraid there's nothing you can do about this - it's a browser feature. If this weren't the case, the server could put whatever it liked into the upload field (e.g. "/etc/passwd"), hide that field using CSS display:none and read arbitrary files off your hard disk.

This is therefore an invalid bug - it's not a bug, it's a (browser) feature.

> FileUploadFields clear after failed validation
> ----------------------------------------------
>
>                 Key: WICKET-596
>                 URL: https://issues.apache.org/jira/browse/WICKET-596
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6
>         Environment: Windows / UNIX-like, Jetty / Tomcat
>            Reporter: manuel barzi
>            Assignee: Eelco Hillenius
>
> In a page with feedback panel, where there are one or more FileUploadField components, and there's also validation of other input fields, when the form is submitted and one or more validations rules fail, then the page is shown again with the feedback panel information, all input fields are keeping state, but FileUploadFields not! They loose state when refreshing the page after a failing validation.

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