You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2014/07/14 23:04:04 UTC

[jira] [Resolved] (ISIS-837) In Wicket viewer, forms not flushing properties when annotated with JDO @NotPersistent.

     [ https://issues.apache.org/jira/browse/ISIS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood resolved ISIS-837.
------------------------------

    Resolution: Fixed

> In Wicket viewer, forms not flushing properties when annotated with JDO @NotPersistent.
> ---------------------------------------------------------------------------------------
>
>                 Key: ISIS-837
>                 URL: https://issues.apache.org/jira/browse/ISIS-837
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.5.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-1.6.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)