Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7566

Add a checkModified() operation to EditableWorkflow to replace the "isModified" workflow hint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.00-alpha-1, 2.26.00
    • Component/s: None
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 69

      Description

      Currently the BasicReviewedActionsWorkflowImpl provides a "isModified" boolean hint value, which is derived already during instantiation of the workflow itself.
      By replacing this with a EditableWorkflow.checkModified() operation this derivation can be postponed until actually needed.

      To help the CMS to determine if it actually makes sense to invoke this operation, the BasicReviewedActionsWorkflowImpl could return a new "checkModified" hint with as boolean value = (Workflow subject == 'draft' variant && exists('unpublished' variant))

        Attachments

          Activity

            People

            • Assignee:
              jsheriff Junaidh Kadhar Sheriff
              Reporter:
              adouma Ate Douma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: