You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Designer adds two references for "x1" and "x2". This leads to an error message since "x1" can not be resolved anymore.
Expected behavior
Old reference should be removed if it can be found unambiguously (i.e. no other element with the same old id is found for this template).
If the old reference does not meet the default template for such an reference there could be an confirmation dialog like "We found something with the old id but it seems to be an element of another type. Remove anyway?"
Alternative expected behaviour
If automatic deletion is not possible or not wished, then there should occur a hint like "Added reference with new id for this element. Remember to delete the old reference".
IDE, Designer and OS version
IntelliJ 2017.3.4, Designer 3.0.0 beta2, Windows 10
The text was updated successfully, but these errors were encountered:
stefanuebe
changed the title
Designer doesn't update related element in Java companion when changing id but adding a new reference
Designer doesn't update element reference id in Java companion when changing id (but adds a new reference)
Mar 8, 2018
Steps to reproduce
Actual behavior
Designer adds two references for "x1" and "x2". This leads to an error message since "x1" can not be resolved anymore.
Expected behavior
Old reference should be removed if it can be found unambiguously (i.e. no other element with the same old id is found for this template).
If the old reference does not meet the default template for such an reference there could be an confirmation dialog like "We found something with the old id but it seems to be an element of another type. Remove anyway?"
Alternative expected behaviour
If automatic deletion is not possible or not wished, then there should occur a hint like "Added reference with new id for this element. Remember to delete the old reference".
IDE, Designer and OS version
IntelliJ 2017.3.4, Designer 3.0.0 beta2, Windows 10
The text was updated successfully, but these errors were encountered: