Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1225

data lost in dataList when conversion error is thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Critical
    • Resolution: Unresolved
    • 1.1.6
    • 1.1.7
    • Data List
    • None
    • tomcat

    Description

      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

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            tomasz.bech Tomasz Bech
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: