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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.00-alpha-1, 2.26.00
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: