[CONTROLLER-164] When parent node with child nodes is written, read of child node using InstanceIdentifier returns null Created: 18/Feb/14  Updated: 25/Jul/23  Resolved: 25/Feb/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tony Tkacik Assignee: Vaclav Demcak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: Java Source File WriteParentReadChildTest.java    
External issue ID: 431

 Description   

Steps to reproduce:

1. Start transaction
2. Inside transaction create a Flow-capable table which contains one flow
3. Commit transaction
4. Invoke read operation with Instance Identifier directly pointing to the flow

Step four should return data for written flow, but returns null instead.
This is reproducible for all access layers such as Restconf, Binding Independent Broker and Binding Aware Broker. so the bug is in underlaying data store (SchemaAwareDataStoreWrapper and HashMapDataStore).

Regression test suite is attached.



 Comments   
Comment by Tony Tkacik [ 18/Feb/14 ]

Attachment WriteParentReadChildTest.java has been added with description: Regression test, should be located in sal-binding-dom-it.

Comment by Vaclav Demcak [ 25/Feb/14 ]

Fixed in https://git.opendaylight.org/gerrit/#/c/5454/

Generated at Wed Feb 07 19:52:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.