Uploaded image for project: 'Click'
  1. Click
  2. CLK-417

CayenneForm clearValues() method clears hidden FO_CLASS value.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 M3
    • Component/s: extras
    • Labels:
      None

      Description

      Invoking clearValues() on the CayenneForm will clear the FO_CLASS hidden field value, which will cause an exception to be thrown when setDataObject is subsequently called.

      java.lang.IllegalArgumentException: Given dataObject class com.avoka.fcl.entity.UserLogin does not match form class
      at net.sf.click.extras.cayenne.CayenneForm.setDataObject(CayenneForm.java:361)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            medgar Malcolm Edgar
            Reporter:
            medgar Malcolm Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development