Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-864

Command should be persisted if any dirty objects enlisted into transaction, in order to ensure no accidental orphans.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.6.0
    • Fix Version/s: core-1.7.0
    • Component/s: Core
    • Labels:
      None

      Description

      adding:
      isis.services.command.actions=ignoreQueryOnly
      means that commands are not persisted for any query-only actions. But that means that if an action is incorrectly annotated with query-only semantics (ie @ActionSemantics(Of.SAFE)) and then dirties objects, then we can end up with audit entries for those dirty objects that are orphaned.

      So, this enhancement is for Isis core to always persist a command whenever an object has been dirtied, even if from an action that has SAFE semantics.

      then

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: