<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:00 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-427] Adding element to user ordered list fails</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-427</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;While adding ACE to ACL (user ordered list) trough netconf&lt;/p&gt;

&lt;p&gt;&amp;lt;edit-config&amp;gt;&lt;br/&gt;
&amp;lt;target&amp;gt;&lt;br/&gt;
&amp;lt;candidate/&amp;gt;&lt;br/&gt;
&amp;lt;/target&amp;gt;&lt;br/&gt;
&amp;lt;default-operation&amp;gt;none&amp;lt;/default-operation&amp;gt;&lt;br/&gt;
&amp;lt;config&amp;gt;&lt;br/&gt;
&amp;lt;access-lists xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-access-control-list&quot;&amp;gt;&lt;br/&gt;
&amp;lt;acl&amp;gt;&lt;br/&gt;
&amp;lt;acl-type&amp;gt;ipv4-acl&amp;lt;/acl-type&amp;gt;&lt;br/&gt;
&amp;lt;acl-name&amp;gt;test_acl&amp;lt;/acl-name&amp;gt;&lt;br/&gt;
&amp;lt;access-list-entries&amp;gt;&lt;br/&gt;
&amp;lt;ace xmlns:a=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; a:operation=&quot;replace&quot;&amp;gt;&lt;br/&gt;
&amp;lt;rule-name&amp;gt;rule2&amp;lt;/rule-name&amp;gt;&lt;br/&gt;
&amp;lt;matches&amp;gt;&lt;br/&gt;
&amp;lt;source-ipv4-network&amp;gt;192.168.2.2/32&amp;lt;/source-ipv4-network&amp;gt;&lt;br/&gt;
&amp;lt;/matches&amp;gt;&lt;br/&gt;
&amp;lt;actions&amp;gt;&lt;br/&gt;
&amp;lt;permit/&amp;gt;&lt;br/&gt;
&amp;lt;/actions&amp;gt;&lt;br/&gt;
&amp;lt;/ace&amp;gt;&lt;br/&gt;
&amp;lt;/access-list-entries&amp;gt;&lt;br/&gt;
&amp;lt;/acl&amp;gt;&lt;br/&gt;
&amp;lt;/access-lists&amp;gt;&lt;br/&gt;
&amp;lt;/config&amp;gt;&lt;br/&gt;
&amp;lt;/edit-config&amp;gt;&lt;/p&gt;


&lt;p&gt;we got:&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: Node ImmutableMapNode&lt;/p&gt;
{nodeIdentifier=(urn:ietf:params:xml:ns:yang:ietf-access-control-list?revision=2016-07-08)ace, value=[]}
&lt;p&gt; is not of type interface org.opendaylight.yangtools.yang.data.api.schema.OrderedMapNode&lt;br/&gt;
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;guava-18.0.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.verifyStructure(AbstractNodeContainerModificationStrategy.java:46) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;yang-data-impl-1.0.4-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.OperationWithModification.merge(OperationWithModification.java:45) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;yang-data-impl-1.0.4-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.data.impl.schema.tree.InMemoryDataTreeModification.merge(InMemoryDataTreeModification.java:79) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;yang-data-impl-1.0.4-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.ModifiableDataTreeManager$ConfigSnapshot.merge(ModifiableDataTreeManager.java:94) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;data-impl-1.17.07-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.WriteTransaction.lambda$merge$1(WriteTransaction.java:98) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;data-impl-1.17.07-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.WriteTransaction$$Lambda$136/287161584.accept(Unknown Source) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.WriteTransaction.handleOperation(WriteTransaction.java:82) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;data-impl-1.17.07-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.WriteTransaction.merge(WriteTransaction.java:98) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;data-impl-1.17.07-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.fd.honeycomb.data.impl.ReadWriteTransaction.merge(ReadWriteTransaction.java:76) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;data-impl-1.17.07-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netconf.mdsal.connector.ops.EditConfig.mergeParentMap(EditConfig.java:162) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;mdsal-netconf-connector-1.1.4-SNAPSHOT.jar:na&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;If we change ordering to system everything works.&lt;br/&gt;
Corresponding RESTCONF request works regardless of the order.&lt;/p&gt;

&lt;p&gt;Issue was observed using Boron-SR3. Honeycomb LOG attached. Instructions to reproduce available at &lt;a href=&quot;https://gerrit.fd.io/r/#/c/6910&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.fd.io/r/#/c/6910&lt;/a&gt;.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21440">NETCONF-427</key>
            <summary>Adding element to user ordered list fails</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="tcere">Tomas Cere</assignee>
                                    <reporter username="mgradzki">Marek Gradzki</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 May 2017 07:18:12 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:42 +0000</updated>
                            <resolved>Mon, 5 Jun 2017 11:25:50 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="40093" author="mgradzki@cisco.com" created="Tue, 30 May 2017 07:18:12 +0000"  >&lt;p&gt;Attachment hc_log.txt has been added with description: Honeycomb log&lt;/p&gt;</comment>
                            <comment id="40091" author="pkajsa" created="Tue, 30 May 2017 11:16:14 +0000"  >&lt;p&gt;When a list is &quot;ordered-by user&quot; it is necessary to write ImmutableOrderedMapNode instead of ImmutableMapNode into InMemoryDataTree. However, there is an attempt to write ImmutableMapNode and therefore this write fails in Yangtools when the list &quot;ace&quot; is &quot;ordered-by user&quot;.&lt;/p&gt;</comment>
                            <comment id="40092" author="mgradzki@cisco.com" created="Thu, 1 Jun 2017 06:15:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/58041/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/58041/1&lt;/a&gt;&lt;br/&gt;
and&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/58042/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/58042/2&lt;/a&gt;&lt;br/&gt;
fix the issue. Thanks!&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12722" name="hc_log.txt" size="151534" author="mgradzki" created="Tue, 30 May 2017 07:18:12 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8566</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8566]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01yh3:</customfieldvalue>

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