<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:13 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-910] Odl-yanglib fails to register provided sources</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-910</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Registering any models as schemaSource in odl-yanglib will fail at the line:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L143&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L143&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More in provided logs.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;br/&gt;
I have used absolute path to &quot;netconf/karaf/target/assembly/cache&quot; with one model &quot;ietf-yang-types&quot; as a value for CacheFolder inside YanglibConfig.&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L72&lt;/a&gt;&lt;br/&gt;
(Just hard-code configuration :&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&#160; &#160; &#160; &#160; yanglibConfig = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; YanglibConfigBuilder()
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; .setCacheFolder(FOLDER_PATH)
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; .setBindingAddr(&lt;span class=&quot;code-quote&quot;&gt;&quot;localhost&quot;&lt;/span&gt;)
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; .setBindingAddr(&lt;span class=&quot;code-quote&quot;&gt;&quot;8181&quot;&lt;/span&gt;)
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; .build(); &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;Odl-yanglib feature was installed with command:&lt;br/&gt;
feature:install odl-netconf-topology odl-restconf-nb odl-yanglib&lt;/p&gt;</description>
                <environment></environment>
        <key id="36302">NETCONF-910</key>
            <summary>Odl-yanglib fails to register provided sources</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="ivanhrasko">Ivan Hrasko</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Tue, 8 Nov 2022 11:48:18 +0000</created>
                <updated>Tue, 9 Jan 2024 12:59:14 +0000</updated>
                            <resolved>Mon, 9 Oct 2023 12:04:15 +0000</resolved>
                                    <version>4.0.3</version>
                                    <fixVersion>6.0.0</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71958" author="ivanhrasko" created="Thu, 2 Feb 2023 09:13:53 +0000"  >&lt;p&gt;What are the steps to reproduce? What are models used?&lt;/p&gt;

&lt;p&gt;For me it looks that you have problem in your models:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
Caused by: java.lang.IllegalArgumentException: Require &lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; org.opendaylight.yangtools.yang.data.api.schema.SystemMapNode, got ImmutableUserMapNode{identifier=(urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)module, body=UnmodifiableCollection{[ImmutableMapEntryNode &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="71959" author="rovarga" created="Thu, 2 Feb 2023 12:59:22 +0000"  >&lt;p&gt;Hmm, this needs attaching a debugger and looking at things.&lt;/p&gt;

&lt;p&gt;From what I understand, the datastore is populated with an OrderedMapNode (somehow?) and we are merging something into it (or perhaps vice versa?)&lt;br/&gt;
At any rate, OrderedMapNode has no business being there AFAICT and we need to track down where it is coming from and how.&lt;/p&gt;</comment>
                            <comment id="72641" author="petersuna" created="Mon, 9 Oct 2023 12:02:33 +0000"  >&lt;p&gt;This bug is no longer present in the current master. It was resolved by migrating to OSGi DS.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/103919&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/103919&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72642" author="ivanhrasko" created="Mon, 9 Oct 2023 13:05:19 +0000"  >&lt;p&gt;Thanks, I assume fix version is the same as for &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-772&quot; title=&quot;Convert yanglib to OSGi DS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-772&quot;&gt;&lt;del&gt;NETCONF-772&lt;/del&gt;&lt;/a&gt;, 6.0.0.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="35207">NETCONF-857</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="36301">NETCONF-909</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19224" name="Screenshot 2023-10-09 131656.png" size="87715" author="PeterSuna" created="Mon, 9 Oct 2023 12:03:01 +0000"/>
                            <attachment id="18201" name="karaf.log" size="426678" author="PeterSuna" created="Tue, 8 Nov 2022 11:49:08 +0000"/>
                    </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|i043cn:</customfieldvalue>

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