[YANGTOOLS-299] Fail to find codec for type ...)leafref Created: 10/Sep/14 Updated: 10/Apr/22 Resolved: 19/Nov/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Maros Marsalek | Assignee: | Ladislav Borak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 1781 | ||||||||
| Description |
|
2014-09-10 09:19:58.380 CEST [http-bio-8080-exec-2] ERROR o.o.y.y.d.i.codec.xml.XmlStreamUtils - Failed to find codec for type (urn:ietf:params:xml:ns:yang:1)leafref [xpath=/config:services/config:service[config:type=current()/../type]/config:instance/config:name], falling back to using stream When executing get/get-config on a loopback netconf mountpoint via RESTCONF, this error is logged for leafrefs. |
| Comments |
| Comment by RichardHill [ 27/Oct/14 ] |
|
Issue still present in karaf snapshot. 27th October. |
| Comment by RichardHill [ 27/Oct/14 ] |
|
Attachment karaf.log has been added with description: karaf log from 27th October snapshot |
| Comment by Maros Marsalek [ 03/Nov/14 ] |
|
This needs to be addressed in restconf as well, since restconf cannot properly read leafrefs to e.g. identityrefs. This makes it impossible to configure new modules for config subsystem over Restconf if the module contains any dependencies. This is not working since fix for BUG-2184 was submitted. |
| Comment by Ladislav Borak [ 06/Nov/14 ] |
|
proposed patch: https://git.opendaylight.org/gerrit/#/c/12518/ |
| Comment by Jozef Gloncak [ 13/Nov/14 ] |
|
Additional patch |