Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-508

Space keys are not converted into references with the correct case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.91.1
    • 9.91.0
    • XML
    • None
    • Unknown

    Description

      This should be exceedingly rare, but if a space is referenced by its key in a macro parameter but without the canonical case, it will be converted using the case used in the reference, not the correct one.

      For instance, if a page in the "MySpace" space contains the following:

      <p><ac:structured-macro ac:name="livesearch">
        <ac:parameter ac:name="spaceKey"><ri:space ri:space-key="myspace" /></ac:parameter>
      </ac:structured-macro></p>

      it will be converted to:

      {{locationSearch reference="myspace"/}} 

      instead of:

      {{locationSearch reference="MySpace"/}}  

      Attachments

        Activity

          People

            rjakse Raphaël Jakse
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: