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

BeanEditForm is including properties that are read only, causing errors when the form is submitted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.11
    • 5.0.11
    • tapestry-core
    • None

    Description

      I have a domain object that looks something like this:

      private int points;
      private int possiblePoints;

      float getScore() {
      return point/possiblePoints * 100;
      }

      [other getters and setters]

      In 5.0.10 score didn't show up in the BeanEditForm because it wasn't something that you could change. In 5.0.11-SNAPSHOT it is showing up in the beaneditform, but when you submit the form it complains that you can't change it.

      It is easy to work around. You just add it to the remove attribute, but Howard said it was a bug so I'm listing it here.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            mwshead Mark Shead
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: