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

Task report macro links wrong URL if linked page title has special characters

    XMLWordPrintable

Details

    Description

      h3. Steps to reproduce

      1. Create a page with special characters (example : asd*@$)
      2. Create a task list in that page
      3. Create another page with the task report macro
      4. Note that the macro shows the task from the page in step1
      5. Click the link and it shows that Page is not found

      h3. Explanation

      1. If Confluence page has special characters, it is saved with a pageID instead of the page name
        Example : http://localhost:8090/pages/viewpage.action?pageId=18939906
      2. If Confluence page has no special characters, it is saved with the page name.
        Example : http://localhost:8090/display/AbtABRECH/asd

      h3. Actual cause of the problem
      The URL from the task report macro links are written wrongly.

      • Actual URL from task report macro (wrong)
        http://localhost:8090/pages/viewpage.action?pageId=18939906?focusedTaskId=1
        
      • The correct link should be :
        http://localhost:8090/pages/viewpage.action?pageId=18939906&focusedTaskId=1
        

      The "?" should be replaced with a "&" in the URL.

      h3. Solution
      Upgrade to Confluence 5.9.x

      Attachments

        Activity

          People

            Unassigned Unassigned
            vteoh Victor Teoh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: