Uploaded image for project: '[Read Only] - Hippo Configuration Management'
  1. [Read Only] - Hippo Configuration Management
  2. HCM-168

Support SNS indices in definition root nodes (config and content)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 1.0.1
    • None

    Description

      We currently do not allow SNS indices to appear in config or content definition root node paths, such as:

      definitions:

        config:

          /rootChild/child[2]:
            jcr:primaryType: whatever

       

      We have determined that this complicates our lives too much when trying to create consistent output via auto-export (REPO1709), so we want to relax this restriction and allow this to be considered valid. This will require us to do more sophisticated sorting of definition root paths, since a simple lexical sort will lead to incorrect results for e.g. [2] and [10]. We will need to parse the paths and do a more sophisticated mixed lexical/numeric sort.

      If we're going to do this more complex type of path processing, we should also take the opportunity to update our API to use a Path/Name object representation instead of raw Strings for JCR paths.

      Attachments

        Activity

          People

            PCentgraf Peter Centgraf
            PCentgraf Peter Centgraf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: