<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:12 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-505] Restconf fails to deserialize URL if leafref from external module is present</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-505</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Issue similar to &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-382&quot; title=&quot;Restconf fails to deserialize URL if identityref from external module is present&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-382&quot;&gt;&lt;del&gt;NETCONF-382&lt;/del&gt;&lt;/a&gt;, but applies to leafrefs.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Restconf is using global schema context to deserialize external leafrefs.&lt;/p&gt;

&lt;p&gt;For URLs such as:&lt;/p&gt;

&lt;p&gt;/restconf/config/network-topology:network-topology/topology/topology-netconf/node/vpp/yang-ext:mount/openconfig-network-instance:network-instances/network-instance/global-bgp&lt;/p&gt;

&lt;p&gt;where global-bgp is leafref and openconfig-network-instance is not present in global schema context,&lt;/p&gt;

&lt;p&gt;restconf fails with error:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: Module reference cannot be NULL&lt;/p&gt;

&lt;p&gt;&#160;&#160; &#160;at com.google.common.base.Preconditions.checkArgument(Preconditions.java:134)&lt;br/&gt;
&#160;&#160; &#160;at org.opendaylight.yangtools.yang.model.util.SchemaContextUtil.findDataSchemaNode(SchemaContextUtil.java:125)&lt;br/&gt;
&#160;&#160; &#160;at org.opendaylight.yangtools.yang.model.util.SchemaContextUtil.getBaseTypeForLeafRef(SchemaContextUtil.java:659)&lt;br/&gt;
&#160;&#160; &#160;at org.opendaylight.netconf.sal.restconf.impl.ControllerContext.addKeyValue(ControllerContext.java:771)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29127">NETCONF-505</key>
            <summary>Restconf fails to deserialize URL if leafref from external module is present</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="mgradzki">Marek Gradzki</assignee>
                                    <reporter username="mgradzki">Marek Gradzki</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Jan 2018 13:21:13 +0000</created>
                <updated>Mon, 5 Mar 2018 06:19:13 +0000</updated>
                            <resolved>Mon, 5 Mar 2018 06:19:13 +0000</resolved>
                                                    <fixVersion>Nitrogen SR1</fixVersion>
                    <fixVersion>Oxygen</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="60855" author="mgradzki@cisco.com" created="Tue, 30 Jan 2018 13:33:09 +0000"  >&lt;p&gt;stable/nitrogen:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67722/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67722/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60856" author="mgradzki@cisco.com" created="Tue, 30 Jan 2018 13:37:42 +0000"  >&lt;p&gt;master:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67723/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67723/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61402" author="mgradzki@cisco.com" created="Mon, 5 Mar 2018 06:18:36 +0000"  >&lt;p&gt;stable/carbon:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67744/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67744/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61403" author="mgradzki@cisco.com" created="Mon, 5 Mar 2018 06:19:13 +0000"  >&lt;p&gt;Also fixed in Carbon, but after Carbon-SR3 was released.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i039uf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>