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

CayenneForm clearValues() method clears hidden FO_CLASS value.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5 M2
    • 1.5 M3
    • extras
    • 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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: