<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:42 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-314] Reject messages with missing attributes with correct rpc-error reply</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-314</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Netconf server rejects messages with missing attributes with incorrect rpc error information.&lt;/p&gt;

&lt;p&gt;rpc-error generated in such events are described in &lt;a href=&quot;https://tools.ietf.org/html/rfc6241#section-4.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#section-4.3&lt;/a&gt; and &lt;a href=&quot;https://tools.ietf.org/html/rfc6241#appendix-A&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#appendix-A&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="21327">NETCONF-314</key>
            <summary>Reject messages with missing attributes with correct rpc-error reply</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="jmorvay@cisco.com">Jakub Morvay</assignee>
                                    <reporter username="jmorvay@cisco.com">Jakub Morvay</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Nov 2016 11:21:09 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:33 +0000</updated>
                            <resolved>Tue, 29 Nov 2016 14:47:50 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="39702" author="jmorvay@cisco.com" created="Mon, 14 Nov 2016 14:21:17 +0000"  >&lt;p&gt;According to RFC, rpc-error generated when we are processing rpc-message that is missing some attributes should look like this:&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc-error&amp;gt;&lt;br/&gt;
  &amp;lt;error-type&amp;gt;rpc&amp;lt;/error-type&amp;gt;&lt;br/&gt;
  &amp;lt;error-tag&amp;gt;missing-attribute&amp;lt;/error-tag&amp;gt;&lt;br/&gt;
  &amp;lt;error-severity&amp;gt;error&amp;lt;/error-severity&amp;gt;&lt;br/&gt;
  &amp;lt;error-info&amp;gt;&lt;br/&gt;
    &amp;lt;bad-attribute&amp;gt;message-id&amp;lt;/bad-attribute&amp;gt;&lt;br/&gt;
    &amp;lt;bad-element&amp;gt;rpc&amp;lt;/bad-element&amp;gt;&lt;br/&gt;
  &amp;lt;/error-info&amp;gt;&lt;br/&gt;
&amp;lt;/rpc-error&amp;gt;&lt;/p&gt;

&lt;p&gt;Example of rpc-error, when rpc element&apos;s message-id attribute is missing.&lt;/p&gt;

&lt;p&gt;In this particular case ODL generates rpc-error with following error-info.&lt;/p&gt;

&lt;p&gt;&amp;lt;error-info&amp;gt;&lt;br/&gt;
  &amp;lt;MISSING_ATTRIBUTE&amp;gt;message-id&amp;lt;/MISSING_ATTRIBUTE&amp;gt;&lt;br/&gt;
&amp;lt;/error-info&amp;gt;&lt;/p&gt;</comment>
                            <comment id="39703" author="jmorvay@cisco.com" created="Mon, 14 Nov 2016 14:31:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/48320&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/48320&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39704" author="jmorvay@cisco.com" created="Tue, 29 Nov 2016 14:47:50 +0000"  >&lt;p&gt;Boron:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48785/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48785/&lt;/a&gt;&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_10207" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>External References</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>netconf_userfeatures_txt_mdsal_northbound_missing_message_id_attribute</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7172</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=7172]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10335"><![CDATA[Boron-2]]></customfieldvalue>

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

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