Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-17494

SpaceKeyParameter could not parse space keys containing spaces (personal spaces)

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • create user with username 'test user'
      • login as 'test user' and create a personal space
      • Browse > Pages, Recently Updated - <confluence>/pages/recentlyupdated.action?key=~test+user

      The error is:

      recently-updated: '~test' is not an existing space's key

      Update: This no longer produces an error but displays "No recent updates found." Like Jeff said, this is because Confluence splits on spaces resulting in a query with 2 spaces. The suggested fix below works however, has an edge case (query with a personal space and global space mistaken for a personal space).
      To address this problem, Confluence needs to be able to escape space delimiters.

      Attachments

        1. broken List Pages - Recently Updated - Jeff Kirby.png
          45 kB
          Jeff Kirby
        2. RecentlyChangedContentMacro.java
          28 kB
          Jeff Kirby
        3. recently updated error.jpg
          90 kB
          Jeff Kirby
        4. recently updated working .png
          54 kB
          Jeff Kirby

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              mtaylor@atlassian.com Maleko Taylor (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: