Proposal to fix longstanding name vs label problems for case roles
At some point in time the xml case type definition started to use the label for the case role instead of the name. Currently you can't change the relationship type label in the UI without causing problems or in some cases a fatal error.
The first link also includes links to related instances over time.
Add a tag to the xml (e.g.
<optionValueName> etc). When parsing the xml use this tag first, otherwise fall back to using
<name> and compare it against label (same as current). This way it won't affect existing installs. For installs using database storage for case type definitions the upgrade script can add this tag to the xml. For sites using files people can add it as needed (possibly the upgrade script can suggest).