Community
Participate
Working Groups
In some specific cases an already created diagram opens, but is corrupted. It's hard to describe a specific scenario.
Created attachment 202335 [details] patch for HEAD
Created attachment 202336 [details] patch for R3_0_maintenance release
Both patches (for HEAD and R3_0_maintenance) committed and released
I just came from vacation and everything is on fire here, so I've omitted (unintentionally) to let this go through the PMC process. Sorry about that.
In some specific cases when the user opens the diagram it's corrupted. No workaround The fix was tested manually. The method ModelIntegrationUtil.getDiagramByProject(IProject) sometimes wasn't able to obtain the project diagram and returns null. The fixes uses weak reference mapping (in order to avoid leaks) between projects and diagrams. The risk is low.
The fix seems safe enough - I approve
This patch was committed to head and maintenance.