Uploaded image for project: 'Campaign Publisher'
  1. Campaign Publisher
  2. MGNLCAMPU-103

Include referenced resources doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.0.3
    • 2.0
    • None

    Description

      Steps to reproduce

      1. In pages app, create a new page with basic template
      2. Add text and image element containing a reference to an asset
      3. Select the page in the tree view and press add to campaign (new)
      4. Mark checkbox include referenced resources and save changes.

      Expected results

      Both the page and the asset are added to campaign

      Actual results

      Only page is added to campaign

      Workaround

      Add the referred elements manually to the campaign in the corresponding content app (the asset in dam app in the example above)

      Development notes

      This is occurring when calling info.magnolia.campaignpublisher.ui.action.AddToCampaignFormAction.addReferencesFrom(Node, Node, String) as it always finds no references. This is because when calling getReferencesFrom there's a hardcoded null value in referenceProperties parameter, which would always result in no references.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                miguel.martinez Miguel Martinez
                jayala Jonathan Ayala
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 0.5h
                      0.5h