Uploaded image for project: 'Content Formatting Development'
  1. Content Formatting Development
  2. CONTENTF-130

Button Hyperlink breaks when target page title includes '/'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.2.8
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 103, Sprint 104, Sprint 105, Sprint 106
    • Story Points:
      2
    • Critical Points:
      0

      Description

      Versions

      Confluence 6.7.2, 6.11.2 and 6.12.1
      Content Formatting 6.2.5 and 6.2.6

      Steps to Reproduce

      1. Create a page with '/' in the title for instance: 'To be / not to be'.
      2. Create another page, and add 'Button Hyperlink' macro pointing to the 'To be / not to be' page.
      3. Click on the button.

      Expected Result

      When click on the button should redirect to the target page.

      Page Example

      When click on the button without '/'

      Actual Result

      Redirect to the page where is the button, stays on the same page.

      Investigation

      After inspecting the button, we could see that attribute "href" doesn't have value.

      If we compare with the other button without "/", we can see the value in "href" atribute.

       

        Attachments

        1. image-2018-11-02-15-37-10-205.png
          151 kB
          Zeca Marques [X]
        2. image-2018-11-02-15-38-08-168.png
          129 kB
          Zeca Marques [X]
        3. image-2018-11-02-15-43-10-969.png
          200 kB
          Zeca Marques [X]
        4. image-2018-11-02-15-44-40-726.png
          189 kB
          Zeca Marques [X]

          Activity

            People

            Assignee:
            kkyei Kevin Kyei Sarpong
            Reporter:
            jmarques Zeca Marques [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: