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 2016/04/29 14:24:13 UTC

[jira] [Created] (ISIS-1396) Some elements on an entity page can be rendered against stale data.

Dan Haywood created ISIS-1396:
---------------------------------

             Summary: Some elements on an entity page can be rendered against stale data.
                 Key: ISIS-1396
                 URL: https://issues.apache.org/jira/browse/ISIS-1396
             Project: Isis
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.12.1
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: 1.13.0


In the contactapp (github.com/incodehq/contactapp), if edit a ContactGroup, then the Country title/icon are shown as null.  This seems to be because they are being rendered against a stale version of the ContactGroup, ie after the JDO transaction has completed.

One fix would seem to be to move the stuff that builds the EntityPage component hierarchy out of the EntityPage constructor and into the EntityPage's onBeforeRender() method.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)