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
In org.polarsys.capella.core.platform.sirius.ui.commands.CapellaPasteCommand.doExecute(), first the command is performed, which means EAdapters can intervene and possibly update the name of an element being added (to prevent name collisions for instance).
Then the Capella name collision check is performed via org.polarsys.capella.core.platform.sirius.ui.commands.NameCollisionHelper.isCollide(Collection<?>, String), but it searches for collisions by iterating through all the contents of the parent element, meaning that a collision is always found.
Instead, there should only be collisions to handle if the element that just got pasted really has the same name as its origin.
The text was updated successfully, but these errors were encountered:
In
org.polarsys.capella.core.platform.sirius.ui.commands.CapellaPasteCommand.doExecute()
, first the command is performed, which means EAdapters can intervene and possibly update the name of an element being added (to prevent name collisions for instance).Then the Capella name collision check is performed via
org.polarsys.capella.core.platform.sirius.ui.commands.NameCollisionHelper.isCollide(Collection<?>, String)
, but it searches for collisions by iterating through all the contents of the parent element, meaning that a collision is always found.Instead, there should only be collisions to handle if the element that just got pasted really has the same name as its origin.
The text was updated successfully, but these errors were encountered: