Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-555

IfBean has a logic error in it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.0
    • Framework
    • None

    Description

      Line #57 says:

      if (cycleRewinding && form != null && !form.isRewinding())

      which always resolves to false. I think what was probably meant was:

      if (cycleRewinding && form != null && !form.isRewinding())

      I've attached a patch to do this, if this was the expected functionality.

      Attachments

        1. org.apache.component.ifBean.diff
          0.7 kB
          Adam Greene

        Activity

          People

            mindbridge Teodor Georgiev Toncher
            ccm682 Adam Greene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: