Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14470

XPage 'publish' option doesn't adhere to SCXML 'publish' hint

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • 14.4.0
    • None
    • channel-manager
    • None
    • Flagged

    Description

      In case of a customization in SCXML, where the 'publish' option is disabled for self-changed documents, this works OK for normal documents, in the content editor, however this doesn't work for xpages in the Pages menu (Experience Manager).

      Reproduction

      • On a project with XPages, (e.g. public demo), replace scxml with scxml-definitions.xml
      • Observer the Publish option is not enabled for self-changed documents
      • Add an XPage, view in channel
        Expected: 'Publish' option is not enabled
        Actual: 'Publish' option is enabled

      Analysis:
      The publish option doesn't listen to "publish" hints (from SCXML) but to "publishBranch"
      There's a mapping in org.hippoecm.hst.pagecomposer.jaxrs.services.component.XPageContextFactory which got changed in CMS-13746 (14.4.0) to do that:

      After giving it some more thought I think all that is needed is to use the workflow action "publishBranch" for XPages.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: