-
Bug
-
Resolution: Fixed
-
Neutral
-
2.0
-
None
Steps to reproduce
- In pages app, create a new page with basic template
- Add text and image element containing a reference to an asset
- Select the page in the tree view and press add to campaign (new)
- 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.
Acceptance criteria
- relates to
-
MGNLCAMPU-87 Migrate campaign publisher
- Selected