[YANGTOOLS-1565] Ordered list item order cannot be changed in single transaction Created: 26/Jan/24  Updated: 02/Feb/24

Status: Open
Project: yangtools
Component/s: data-impl
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Ruslan Kashapov Assignee: Robert Varga
Resolution: Unresolved Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks NETCONF-1177 PUT requests failing with "insert" qu... Confirmed

 Description   

The issue addresses NETCONF protocol, where the list has no own XML node, but multiple nodes representing list items. It means the list (collection of items) cannot be replaced as a single element using NETCONF protocol but via sequence of per-elements updates.

In order to change the ordered list items order, affected items require to be deleted first then inserted in expected order. If this sequence of operations is performed in a single transaction, the items order remain unchanged.

See failed test case here https://git.opendaylight.org/gerrit/c/yangtools/+/110016/1

 


Generated at Wed Feb 07 20:56:31 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.