getRelationShapeCollection is empty for shapes in VSD files

Hello, when attempting to parse the relationships for imported VSD diagrams every shape in that diagram returns an empty collection for getRelationShapeCollection. Looking at the shape sheet for the CFF Container shape on the first page of the attached VSD file I can see a relationship string of: =SUM(DEPENDSON(1,Phase List!SheetRef(),Swimlane List!SheetRef())) as well as the other shapes having relationships as well.

File file = new File(PATH_TO_VSD_FILE);
Diagram d = new Diagram(file.getAbsolutePath());
Page page = d.getPages().get(0);
ShapeCollection pageShapes = page.getShapes();
for(Shape shape : (Iterable<Shape>) pageShapes)
{
  System.out.println(shape.getID() + " : " + shape.getRelationShapeCollection().getCount());
}

Visio_Order_Entry_VSD.zip (137.0 KB)

@wwats
Thanks for the template vsd file.
After an initial testing, I am able to reproduce the issue as you mentioned by using your template file.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMJAVA-51198

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMJAVA-51198) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou

Hello again,

After bumping aspose-diagram to 24.5 I am still unable to get relationship data for imported VSD diagram shapes. I’ve attached a zip file with the original VSD file, that same file saved as VSDX, and two text files that show the counts of relationships for each shape in the pages of each files. For the VSD you’ll see that every shape returns a count of 0, and for the VSDX accurate relationship counts are returned.

vsd_and_vsdx.zip (207.1 KB)

@wwats
Thanks for the template files and screenshots.
We reproduced the problems you mentioned. We found this issue with parsing relationships error.
We are sorry for the inconvenience.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMJAVA-51202

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMJAVA-51202) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou