You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tomasz Bech (JIRA)" <de...@myfaces.apache.org> on 2008/04/03 10:04:24 UTC

[jira] Created: (TOMAHAWK-1225) data lost in dataList when conversion error is thrown

data lost in dataList when conversion error is thrown
-----------------------------------------------------

                 Key: TOMAHAWK-1225
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1225
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Data List
    Affects Versions: 1.1.6
         Environment: tomcat
            Reporter: Tomasz Bech
            Priority: Critical


On jsp there are: dataList with one inputtext component, one main DATE (inputtext with date converter) component, and one main myName component (required).
Now: filling all data, and putting wrong data in DATE field, click 'Next', validation occurs, message is displayed, but the entered data in dataList are lost.
However, when both DATE field has wrong date and myName field is empty (two validation errors), the entered data in dataList remains!

Looks The problem is with handling ConverterException and dataList.

env: MYFACES 1.1.5, tomahawk 1.1.6.

Example project is attached. Just fill in 'lib' directory, attach context in Tomcat and run: http://localhost:8080/conversionExceptionAndLostData/jsp/testTDataListAndValidation.jsf

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


[jira] Reopened: (TOMAHAWK-1225) data lost in dataList when conversion error is thrown

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

Tomasz Bech reopened TOMAHAWK-1225:
-----------------------------------


this fix is working on myfaces and tomahawk 1.1.8, but unfortunatelly it is not working on sun ri 1.1_01

> data lost in dataList when conversion error is thrown
> -----------------------------------------------------
>
>                 Key: TOMAHAWK-1225
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1225
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Data List
>    Affects Versions: 1.1.6
>         Environment: tomcat
>            Reporter: Tomasz Bech
>            Assignee: Leonardo Uribe
>            Priority: Critical
>             Fix For: 1.1.7
>
>         Attachments: conversionExceptionAndLostData.zip
>
>
> On jsp there are: dataList with one inputtext component, one main DATE (inputtext with date converter) component, and one main myName component (required).
> Now: filling all data, and putting wrong data in DATE field, click 'Next', validation occurs, message is displayed, but the entered data in dataList are lost.
> However, when both DATE field has wrong date and myName field is empty (two validation errors), the entered data in dataList remains!
> Looks The problem is with handling ConverterException and dataList.
> env: MYFACES 1.1.5, tomahawk 1.1.6.
> Example project is attached. Just fill in 'lib' directory, attach context in Tomcat and run: http://localhost:8080/conversionExceptionAndLostData/jsp/testTDataListAndValidation.jsf

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