You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/08/19 19:49:00 UTC

[jira] [Resolved] (ISIS-3126) [JDO] Stack Overflow on TimestampService#onPreStore

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

Andi Huber resolved ISIS-3126.
------------------------------
    Resolution: Resolved

Solution is to keep track of PreDirty events on a per entity basis and prevent nested event propagation. Was able to store that information required with our custom DN StateManager implementation as used for Isis.

> [JDO] Stack Overflow on TimestampService#onPreStore
> ---------------------------------------------------
>
>                 Key: ISIS-3126
>                 URL: https://issues.apache.org/jira/browse/ISIS-3126
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Persistence JDO
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Blocker
>             Fix For: 2.0.0-M8
>
>
> Can be reproduced when updating an already persisted entity, that extends one of OnUpdatedBy or OnUpdatedAt.
> Did not surface with regression-test org.apache.isis.testdomain.timestamping.jdo.JdoTimestampingTest because, it did not test a persisted entity only a transient one.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)