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 2026/06/08 10:55:00 UTC

[jira] [Created] (CAUSEWAY-4030) In command logging extension, capture single instance of a List .

Daniel Keir Haywood created CAUSEWAY-4030:
---------------------------------------------

             Summary: In command logging extension, capture single instance of a List .
                 Key: CAUSEWAY-4030
                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-4030
             Project: Causeway
          Issue Type: New Feature
          Components: Incubator Ext CommandReplay
    Affects Versions: v2 maintenance-branch
            Reporter: Daniel Keir Haywood
            Assignee: Daniel Keir Haywood
             Fix For: 4.0.0-M2, v2 maintenance-branch


/opsx-propose Currently the Command Log subscriber only captures the result if it is a scalar reference to a single entity.  In particular, if it is a list then the contents are not recorded.  However, in the viewer, if a list is returned but there is only one instance, then that object is automatically shown.

for command recording/replay, the returned/result objects are needed to build up the graph of what is known: the "dotted path".  With the behaviour as it is today, finders returning lists are useless even if they return a single instance.

This change is therefore to enhance command logging, so that if single object is returned within a list, then to record this as the result.



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