Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: kubsztal on March 19, 2026, 05:33:34 pm

Title: GUIDs are case sensitive!
Post by: kubsztal on March 19, 2026, 05:33:34 pm
When I programmatically create a connector between two operations, the referenced GUIDs are written in all uppercase in the StyleEx field of the t_connector table. However, in the t_object table, those GUIDs contain some lowercase letters. As a result, the referenced operations are not found, and the connector is displayed on the diagram as if it were created only between components rather than between their operations.
Picture: https://imgur.com/a/vudMgGQ (https://imgur.com/a/vudMgGQ)
Title: Re: GUIDs are case sensitive!
Post by: Geert Bellekens on March 19, 2026, 06:51:19 pm
What are you saying here? Is there a bug in EA, or in your code?

Geert
Title: Re: GUIDs are case sensitive!
Post by: kubsztal on March 19, 2026, 11:35:43 pm
Hi Geert,

if we say that case sensitive GUIDs are acceptable, then the bug is in my code. However, according to the UUID definition (RFC 4122), UUIDs should be case insensitive. Since a GUID is a 128-bit number, it should be compared numerically rather than as a string. From that perspective, the bug is in EA. I'm leaning towards the latter.

Best,
Kubsztal
Title: Re: GUIDs are case sensitive!
Post by: Eve on March 20, 2026, 08:42:50 am
When I programmatically create a connector between two operations, the referenced GUIDs are written in all uppercase in the StyleEx field of the t_connector table.
Then create them the way that EA creates them. This is a bug in your code regardless of what your opinion of how EA should behave.