Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-837

In Wicket viewer, forms not flushing properties when annotated with JDO @NotPersistent.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • viewer-wicket-1.5.0
    • viewer-wicket-1.6.0
    • Viewer Wicket
    • None

    Description

      In 1.5.0 there is a guard to explicitly not flush changed property values in a form's model (EntityModel#apply) for those properties that have the NotPersistedFacet.class.

      However, this logic is wrong. Even though a property is not directly persistable by JDO, it might still be implicitly persistable through business logic in the setter.

      Therefore remove this guard.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: