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

Adding Resource with sling:vanityPath set causes mismatch when resolving vanity URL (timing issue)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Testing Sling Mock 3.4.18
    • None
    • Testing
    • None

    Description

      It could happen that a Resource containing sling:vanityPath is added and then resolved, but the Resource did not end up yet in the vanity logic.

      Observed with JCR_OAK mock context.

      Adding Thread.sleep(1000) fixes the issue, but it's of course not a very good solution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Henry Kuijpers Henry Kuijpers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: