You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Duke Yin (JIRA)" <ji...@apache.org> on 2016/06/09 14:47:21 UTC
[jira] [Commented] (ISIS-1004) Infitinite recursion in updating()
callback when call setter
[ https://issues.apache.org/jira/browse/ISIS-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15322638#comment-15322638 ]
Duke Yin commented on ISIS-1004:
--------------------------------
I've observed this in Isis 1.12.2. Using the SimpleObject tutorial project, I add a simple {noformat}public void updating(){noformat} method to the SimpleObject class in the DOM module that prints to console and changes one field. This results in infinite recursion of the updating() method when the Wicket UI is used to update an existing record.
At some point, with the updating() hook changing the existing field, I got the integration tests to start failing, so the infinite recursion is triggered in {noformat}domainapp.integtests.tests.modules.simple.SimpleObjectIntegTest.UpdateName{noformat}, failing the build.
> Infitinite recursion in updating() callback when call setter
> ------------------------------------------------------------
>
> Key: ISIS-1004
> URL: https://issues.apache.org/jira/browse/ISIS-1004
> Project: Isis
> Issue Type: Bug
> Components: Core: Objectstore: JDO
> Affects Versions: core-1.7.0
> Reporter: Dan Haywood
> Fix For: 1.9.0
>
>
> as per: http://isis.markmail.org/thread/6k7jh43xpzohb46k
> ~~~
> could probably solve this by setting a thread-local in the updating callback facet (a wormhole).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)