Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-237

Variants are not published

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create page and create live copy
      2. Add a component to the original page with variants
      3. Push master content
      4. Publish inc. ref. sites

      Expected results

      Page and its variants are published

      Actual results

      Variants are not published. By setting Packager to debug we can see that variants are ignored:

      Development notes

      Although personalizationActivation is set in configuration /modules/workflow/commands/workflow/activateLiveCopy, which points at mgnl:componentVariants as itemType, activate command from versioned catalog is set explicitly in info.magnolia.liveCopy.workflow.workitem.PublishLinkedResourcesWorkItemHandlerDefinition and info.magnolia.liveCopy.workflow.workitem.PublishLinkedResourcesWorkItemHandler.

      1. By setting catalog and commandName properties to workflow and activateLiveCopy in /modules/livecopy/workItemHandlers/publishLinkResources nothing changes(restarting the server as required by work item handlers configuration)
      2. Creating custom classes to replace info.magnolia.liveCopy.workflow.workitem.PublishLinkedResourcesWorkItemHandlerDefinition and{{info.magnolia.liveCopy.workflow.workitem.PublishLinkedResourcesWorkItemHandler}} neither work although workflow and activateLiveCopy are explicitly set.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                oanh.thai Oanh Thai Hoang
                jayala Jonathan Ayala
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2d 7h
                      2d 7h