[YANGTOOLS-122] Failed to maps instance-identifier (XML node) into Java InstanceIdentifier Created: 26/Mar/14 Updated: 10/Apr/22 Due: 15/Apr/14 Resolved: 23/Apr/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Milos Fabian | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 595 | ||||||||
| Description |
|
java.lang.ClassCastException: java.lang.String cannot be cast to org.opendaylight.yangtools.yang.data.api.InstanceIdentifier yang module snippet: xml input snippet: |
| Comments |
| Comment by Milos Fabian [ 26/Mar/14 ] |
|
test code: private RuntimeGeneratedMappingServiceImpl mappingService; @Before @Test |
| Comment by Milos Fabian [ 26/Mar/14 ] |
|
Attachment notification.xml has been added with description: test input xml |
| Comment by Milos Fabian [ 26/Mar/14 ] |
|
Attachment RestconfUtilsTest.java has been added with description: test java class |
| Comment by Milos Fabian [ 26/Mar/14 ] |
|
(In reply to Milos Fabian from comment #3) required dependency: |
| Comment by Robert Varga [ 09/Apr/14 ] |
|
Bump importance, this is blocking RESTCONF broker usability. |
| Comment by Jozef Gloncak [ 10/Apr/14 ] |
|
Conversion of String to InstanceIdentifier was added. See Curently test specified above is falling on LazyGeneratedCodecRegistry.getClassForPath() See stack trace: |
| Comment by Jozef Gloncak [ 10/Apr/14 ] |
|
String representation of InstanceIdentifier (from enclosed namespace.xml) Regarding creating of InstanceIdentifier from string maybe some of this question should be also solved:
|
| Comment by Jozef Gloncak [ 10/Apr/14 ] |
|
Under
|
| Comment by Jozef Gloncak [ 15/Apr/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/6192/
|
| Comment by Tony Tkacik [ 16/Apr/14 ] |
|
DOM part of the codec was merged into master. |