Install diagram version with a version between [1.17, 1.18], since these versions depend on xwiki-contrib/drawio 14.4.3-2 and add a license
Create a diagram Diagram.Test1 and edit it
Use the Left menu -> Search Shapes to search for a complex shape. E.g. search and select the internet cloud shape (only certain shapes will make this issue to reproduce, since only some of them are stored using a link)
Save and observe that the shape is displayed
Upgrade diagram to a version >1.18, since this will add the xwiki-contrib/drawio 20.5.0 webjar
Go to Diagram.Test1 and observe the added shape
Expected result:
The shape is displayed
Actual result:
The shape is not displayed
Investigation:
The reason is that the migration that fixes this problem does not covers the case where the drawio version contains a - as in 14.4.3-2
The workaround for now is to re-add the shapes
Steps to reproduce:
Diagram.Test1
and edit itLeft menu -> Search Shapes
to search for a complex shape. E.g. search and select theinternet cloud
shape (only certain shapes will make this issue to reproduce, since only some of them are stored using a link)xwiki-contrib/drawio 20.5.0
webjarDiagram.Test1
and observe the added shapeExpected result: The shape is displayed
Actual result: The shape is not displayed
Investigation: The reason is that the migration that fixes this problem does not covers the case where the drawio version contains a
-
as in14.4.3-2
The workaround for now is to re-add the shapes