This issue has a low exposure: it produces on N-N links for which duplicates are allowed. There is only one case in the standard datamodel: ConnectableCI to NetworkDevice.
This produces both with the GUI and when using the APIs NetworkDevice::Set('connectableci_list', ...) or ConnectableCI::Set('networkdevice_list', ...)
This will not happen when using other means like creating directly the objects lnkConnectableCIToNetworkDevice. In such a case, you will see both links in the GUI, but will have trouble modifying them (change a port for example). See [#1147].
This produces both with the GUI and when using the APIs NetworkDevice::Set('connectableci_list', ...) or ConnectableCI::Set('networkdevice_list', ...)
This will not happen when using other means like creating directly the objects lnkConnectableCIToNetworkDevice. In such a case, you will see both links in the GUI, but will have trouble modifying them (change a port for example). See [#1147].
Related
Tickets:
#1147Last edit: Romain Quetiez 2015-09-11
Will this be considered for the next release please?
Fixed in trunk as [r4766]
Will be available in itop 2.4 beta, coming soon...
Related
Commit: <Commit _id='5358055aa02bb175d1406271:4766' tree_id='c6498866f21e0940c1f4f8854faac560d1dc74b3' committed=I{'date': datetime.datetime(2017, 6, 21, 15, 47, 28, 306000), 'email': '', 'name': 'romainq'} authored=I{'date': datetime.datetime(2017, 6, 21, 15, 47, 28, 306000), 'email': '', 'name': 'romainq'} message='Rework of the edition of 1-N and N-N links: managed as a delta from the GUI down to the the lowest APIs.\n- Fixes the management of obsolete linked data.\n- N.744 Fixes concurrent modifications (example: a user modifies a team, another user modifies a person related to that same team). Still NOT fixed with the customer portal.\n- N.849 Fixes links edition in the case some data are not allowed to the current user (organization silos) -TO BE TESTED\n- #1145 Fixes the creation of duplicate links in one step (Server to NW Device)\n- #1147 Fixes the update of duplicate links' parent_ids=I['5358055aa02bb175d1406271:4765'] child_ids=I['5358055aa02bb175d1406271:4767'] repo_ids=I[ObjectId('5358055aa02bb175d1406271')]>