Book a Demo

Author Topic: GUIDs are case sensitive!  (Read 13521 times)

kubsztal

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
GUIDs are case sensitive!
« 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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13510
  • Karma: +573/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: GUIDs are case sensitive!
« Reply #1 on: March 19, 2026, 06:51:19 pm »
What are you saying here? Is there a bug in EA, or in your code?

Geert

kubsztal

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: GUIDs are case sensitive!
« Reply #2 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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8107
  • Karma: +119/-20
    • View Profile
Re: GUIDs are case sensitive!
« Reply #3 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.