Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2667

Existing content app decoration does not work if it does get applied the latest one

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None

    Description

      So if we directly create a light-module and we add a decoration as it is explained here:
      https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/Workflow-module/Enabling-workflow-in-content-apps.html#_existing_content_apps

      This will not work unless our decoration comes the latest one. By default it gets applied the first one and there are later decorations that makes our not being applied and get 4 warnings at the Definitions tab.

      How to fix it? We just basically need to mention that this decoration should come the last one. How to do that? We need to see the latest decoration being applied, so far it is "content-tags-integration" but this could change in the future. From our module descriptor we can just specify:

      version: 1.0
      dependencies:
        content-tags-integration:
          version: "*"
      

      And that makes our decoration be the last one.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdrapela Martin DrĂ¡pela
              smarino Sergio Marino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: