Uploaded image for project: 'URL Normalizer'
  1. URL Normalizer
  2. URLNORMALZ-19

Normalisation in the Diagram Editor causes bad links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.3
    • None
    • None
    • IE11, Windows 2010 Server, Tomcat, XWiki 9.5.1, mySQL
    • Unknown
    • N/A
    • N/A

    Description

      In a diagram, when saving a page with a box linking to a local wiki page the normalised link is incorrect.

      Occasionally this also corrupts the diagram.

      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>
      

      The link shouldn't include the label here and shouldn't be in wiki syntax I don't think

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: