Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10167

MapEntries.loadAliases generates JCR queries with illegal absolute paths

    XMLWordPrintableJSON

Details

    Description

      the code introduced with SLING-9535 generates JCR queries like this to load existing alias on startup:

      SELECT sling:alias FROM nt:base AS page WHERE (NOT ISDESCENDANTNODE(page,"/jcr:system/")) AND sling:alias IS NOT NULL
      SELECT sling:alias FROM nt:base AS page WHERE (NOT ISDESCENDANTNODE(page,"/parent1/")) AND sling:alias IS NOT NULL
      

      this query are invalid, as "/jcr:system/" or "/parent1/" are not valid paths - valid paths must end not with "/".

      Attachments

        Issue Links

          Activity

            People

              sseifert Stefan Seifert
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m