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

Context aware _any_ or _default_ placeholders not resolving properly in PDA

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 14.6.0
    • None
    • None
    • Flagged
    • Orion
    • Ready for refinement

    Description

      Summary: the existing feature of "Context Aware URLs" isn't working for the PDA.

      In following situation:

      /hst:sitemenus:
        jcr:primaryType: hst:sitemenus
        /testmenu:
          jcr:primaryType: hst:sitemenu
          /two:
            jcr:primaryType: hst:sitemenuitem
            hst:referencesitemapitem: two
      
      
      /one:
        jcr:primaryType: hst:sitemapitem
        hst:componentconfigurationid: hst:pages/newslist
        hst:refId: restapi
        hst:relativecontentpath: restapi
        /_default_:
          jcr:primaryType: hst:sitemapitem
          hst:componentconfigurationid: hst:pages/newslist
          hst:relativecontentpath: news/onepath
          /two:
            jcr:primaryType: hst:sitemapitem
            hst:componentconfigurationid: hst:pages/newslist
            hst:refId: two
            hst:relativecontentpath: ${parent}/${1}
      
      

      When doing a PDA request like
      http://localhost:8080/site/resourceapi/one/example/
      links are resolved as
      http://localhost:8080/site/one/_any_/two or http://localhost:8080/site/one/_default_/two (depending which one is used)

      Expected is that the 'example' part in the request URL will be used in the wildcard.

      This is described as Context Aware URLs at
      https://documentation.bloomreach.com/14/library/concepts/links-and-urls/context-aware-canonical-preferred-and-navigationstateful-urls.html but it doesn't work for PDA.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: