-
Bug
-
Resolution: Duplicate
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
5297
DataChangeListener or DataTreeChangeListener does not get data change event if is registered with instance-identifier containing unkeyed list.
Yang used in cases below:
container con1 {
list list1 {
key "list1key";
leaf list1key
list unkeyed-list {
leaf this-is-not-key
list list2 {
key "list2key";
leaf list2key
}
}
}
}
Case 1:
DataTreeChangeListener is registered with IID:
InstanceIdentifier.builder(Con1.class).child(List1.class).child(UnkeyedList.class).child(List2.class).build();
The listener does not get notification when instance of list2 is created.
Case 2:
DataTreeChangeListener is registered with IID:
InstanceIdentifier.builder(Con1.class).child(List1.class).child(UnkeyedList.class).build();
The listener does not get notification when instance of list2 or instance of unkeyed-list are created.
CONTROLLER-1:
InstanceIdentifier.builder(Con1.class).child(List1.class).build();
The listener does not get notification when instance of list2 or instance of unkeyed-list are created but it get notification when instance of list1 is created.
Also DataObjectModification representing unkeyed-list never contains modified children.
- duplicates
-
MDSAL-298 java.lang.IllegalStateException: Unsupported data type
- Resolved