You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/09/26 08:56:00 UTC

[jira] [Created] (CAUSEWAY-3602) Run background commands job with one interaction/transaction per command.

Daniel Keir Haywood created CAUSEWAY-3602:
---------------------------------------------

             Summary: Run background commands job with one interaction/transaction per command.
                 Key: CAUSEWAY-3602
                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3602
             Project: Causeway
          Issue Type: Bug
          Components: Ext Core CommandLog
    Affects Versions: 2.0.0-RC2
            Reporter: Daniel Keir Haywood
            Assignee: Daniel Keir Haywood
             Fix For: 2.0.0-RC3


what I believe I saw with the current implementation (of one interaction and lots of transactions within) is that any entity values in `QueryResultsCache` get set to null at some stage - my guess is that DN is doing this when one of the transactions is completed, even though the underlying interaction is still open.

For safety/more robustness, instead create a new `Interaction` for each command.



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