Proposal to fix longstanding name vs label problems for case roles
Overview
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.
See
The first link also includes links to related instances over time.
Proposal
Add a tag to the xml (e.g. <name_for_real_this_time>
or <lookupKey>
or <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).
Ping @colemanw @eileen @jitendra @andrewhunt @totten Also pinging @bgm since this issue causes language problems too.