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

The hst:page below an XPage document should be skipped between draft and unpublished variant

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.3.0
    • None

    Description

      In CMS-13382 the hst cnd was changed to:

      [hst:page] > hippostdpubwf:auditTrace, hippostd:skipdraft mixin
      + hst:page (hst:component) = hst:component
      

      However, the above is wrong: the 'hst:page' mixin namely is added to the document variant, but the child node 'hst:page' should have the hippostd:skipdraft marker! The cnd is also confusing since 'hst:page' is the mixin as well as the child node name. Let's change it into

      [hst:page] > hst:component, hippostd:skipdraft
      
      [hst:xpage] > hippostdpubwf:audittrace mixin
      + hst:page (hst:page) = hst:page
      

      to make it more clear

      Also add an integration test for it

      As part of this issue, though different but in the same area and very simple, I rename

      [hippostdpubwf:auditTrace] > nt:base mixin
      

      to

      [hippostdpubwf:audittrace] > nt:base mixin
      

      since we do not use camel casing any where in repository cnd's so we better keep it consistent

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: