Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3415

[ui:repeat] field value disappears if validation error exists on current site

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.5
    • 2.0.13, 2.1.7
    • None
    • None
    • myfaces-2.1.5, Tomcat 7

    Description

      A testcase to reproduce the issue is attached.
      1. http://localhost:8080/jsf2test/index.jsf
      2. enter some data into field 'input2' and field 'item' (field item is surrounded by ui:repeat) and leave the first field 'input' empty
      3. click button

      result: validation error and field value of field 'input2' is shown (this is expected). But field value of field 'item' is not shown anymore (this is not expected)

      Note: with mojarra-2.1.5 the field value doesn't disappear

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            reneo Rene O
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment