xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 8 forks source link

Uncached diagrams that contain links or Heading shapes aren't shown in View mode in an AWM #139

Closed ane-gabriela closed 4 years ago

ane-gabriela commented 4 years ago

Preconditions: Import the diagrams attached

Steps to reproduce:

  1. Create a an AWM which contains Content field
  2. Add an entry
  3. In the Content field add the Diagram Macro
  4. Add the Diagram in Reference eg. "Diagram.Diagram 4.WebHome"
  5. Uncheck the Cached option
  6. Submit the macro
  7. Save & View the page

Expected results: The diagram is properly shown.

Actual results: The diagram is shown for 1-2 seconds, then it vanishes. This happens when I have diagrams with links or when there is a Heading shape inserted.

Environment: Windows 10, XWiki 11.10.4 with MySQL 5.7 and Chrome 81

https://up1.xwikisas.com/#xGanfN3yoRaNw9QvtUJc8w - Video

https://up1.xwikisas.com/#fw-E6TYGrJSQ9eg0EPbTvA - Diagram with links

https://up1.xwikisas.com/#UqQQuiEca1qe4sZU8XbijA - Diagram with Heading

ane-gabriela commented 4 years ago

Working on XWiki 9.11

mflorea commented 4 years ago

Duplicate of #122.