Uploaded image for project: 'Diagram Application'
  1. Diagram Application
  2. XADIAGRAM-52

Pages created by the Diagram app should use the plain syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.3
    • 1.2
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Due to the syntaxID of the Diagram Template file, the URL normaliser adjusts links that should be plain rather than XWiki 2.1 syntax.

      e.g. https://172.28.2.55/bin/view/Main/ is converted to:

      <mxGraphModel page="1" background="#ffffff" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="826" pageHeight="1169" math="0" shadow="0" dy="501" dx="726">
        <root>
          <mxCell id="0"/>
          <mxCell id="1" parent="0"/>
          <UserObject id="2" link="[[https:~~/~~/172.28.2.55/bin/view/Main/>>doc:Main.WebHome]]" label="">
            <mxCell parent="1" vertex="1" style="whiteSpace=wrap;html=1;">
              <mxGeometry as="geometry" width="120" height="60" y="180" x="230"/>
            </mxCell>
          </UserObject>
        </root>
      </mxGraphModel>
      

      Background info: https://jira.xwiki.org/browse/URLNORMALZ-19

      Attachments

        Activity

          People

            vmassol Vincent Massol
            bmegson Ben Megson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: