Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12521

Circular dependency between content and workflow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.9.2, 4.10.0
    • 4.9.1, 4.10.0
    • None
    • None

      There is a feature dependency circle between content and workflow since CMS-12462.

      Until CMS-12462, it was always the workflow that was accessing the content, but the restauration of a content (called directly on the content) now invoke the workflow. Making the content depend on workflow and the workflow depends on content.

      Currently, the issue is circumvented by not declaring the feature dependency to workflow on the trash.content feature. But this is a hack and only works because every features are loaded at startup and the ContentTrashElementType is an extension of a LazyInitialized extension point.

      It required adding the dependency to cms/workflow to every test that was only needing cms/factories until now.

            Unassigned Unassigned
            ggouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: