- 
                Notifications
    
You must be signed in to change notification settings  - Fork 316
 
Open
Labels
is:bugBug description.Bug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)
Description
Hi,
I have several yang files with extensions working fine.
However, in some specific cases, the module cannot be loaded:
- when the extension is in a rpc input.
 
Here is a yang example with an extension in the rpc input loaded with the command:
sysrepoctl -i example.yang  -v3
module example {
	yang-version 1.1;
	namespace "urn:examples";
	prefix e;
	extension my-extension {
		description
			"Description.";
	}
	rpc myrpc {
		description
			"Manage troubleshooting reports.";
		input {
			e:my-extension;
			leaf list {
				type empty;
				description
					"List.";
			}
		}
	}
}
  __assert_fail (libc.so.6 + 0x3b517)
  sr_lycc_store_context (libsysrepo.so.8 + 0x5c9cd)
 _sr_install_modules (libsysrepo.so.8 + 0xfd68)
Metadata
Metadata
Assignees
Labels
is:bugBug description.Bug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)