You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jim Dolinski (JIRA)" <de...@myfaces.apache.org> on 2008/10/27 15:06:44 UTC

[jira] Created: (TRINIDAD-1280) IE javascript error

<tr:inputFile> IE javascript error
----------------------------------

                 Key: TRINIDAD-1280
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1280
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.9-core
         Environment: Windows XP, Internet Explorer 7
            Reporter: Jim Dolinski
            Priority: Minor


The <tr:inputFile> input box is not disabled on Internet Explorer. When a user enters text that does not resolve to a valid path to a file a javascript error occurs and the page is unable to process any actions until the text is removed. The problem does not occur on firefox, the input box is disabled forcing the user to enter a file path using the "browse" button.

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


[jira] Resolved: (TRINIDAD-1280) IE javascript error

Posted by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson resolved TRINIDAD-1280.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.10-core
                   1.2.10-core

Added try catch around the form submit with a display of a translatable message for failure to sumbit the form with an inputFile. The code isn't 100% foolproof as I do not see a way to make sure that it was indeed the inputFile that caused the error, but it should work for the large portion of the use cases

> <tr:inputFile> IE javascript error
> ----------------------------------
>
>                 Key: TRINIDAD-1280
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1280
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.9-core
>         Environment: Windows XP, Internet Explorer 7
>            Reporter: Jim Dolinski
>            Assignee: Andrew Robinson
>            Priority: Minor
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> The <tr:inputFile> input box is not disabled on Internet Explorer. When a user enters text that does not resolve to a valid path to a file a javascript error occurs and the page is unable to process any actions until the text is removed. The problem does not occur on firefox, the input box is disabled forcing the user to enter a file path using the "browse" button.

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