<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:38 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-682] RFC8040 compliance - wrong URI returns incorrect HTTP status</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-682</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;In every version of draft and RFC, the&#160;return code for &quot;data-missing&quot; is 409:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tools.ietf.org/html/draft-bierman-netconf-restconf-04&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/draft-bierman-netconf-restconf-04&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tools.ietf.org/html/draft-ietf-netconf-restconf-18&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/draft-ietf-netconf-restconf-18&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tools.ietf.org/html/rfc8040&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc8040&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;However in ODL, the return code for &quot;data-missing&quot; is 404:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;HTTP status returned: 404 Not Found

{
 &quot;errors&quot;: {
 &quot;error&quot;: [
 {
 &quot;error-message&quot;: &quot;Schema node tx-frequenc does not exist in module.&quot;,
 &quot;error-tag&quot;: &quot;data-missing&quot;,
 &quot;error-type&quot;: &quot;protocol&quot;
 }
 ]
 }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

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

&lt;p&gt;In ticket from 2014 (&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-671&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/CONTROLLER-671&lt;/a&gt;), return code changed from 409 to 404:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The base specification listed the error code to be 409, which is in&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;direct violation on HTTP. The restconf specification will be fixed in&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;the upcoming draft, meanwhile we are going for the new, sane behavior&lt;/em&gt;&lt;br/&gt;
&lt;em&gt;regardless.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;However nothing changed in RFC draft since 2014 (e.g. errata was rejected):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.rfc-editor.org/errata/eid5565&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.rfc-editor.org/errata/eid5565&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="32633">NETCONF-682</key>
            <summary>RFC8040 compliance - wrong URI returns incorrect HTTP status</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="blukas">Lukas Baca</assignee>
                                    <reporter username="blukas">Lukas Baca</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 May 2020 07:30:58 +0000</created>
                <updated>Tue, 7 Jul 2020 10:56:06 +0000</updated>
                            <resolved>Tue, 7 Jul 2020 10:56:06 +0000</resolved>
                                                    <fixVersion>Aluminium</fixVersion>
                    <fixVersion>Magnesium SR2</fixVersion>
                    <fixVersion>Sodium SR4</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="68084" author="rovarga" created="Mon, 4 May 2020 10:29:05 +0000"  >&lt;p&gt;This is tracked in an errata,&#160;&lt;a href=&quot;https://www.rfc-editor.org/errata/eid5565&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.rfc-editor.org/errata/eid5565&lt;/a&gt; , which has been rejected.&lt;/p&gt;</comment>
                            <comment id="68085" author="JIRAUSER12931" created="Mon, 4 May 2020 10:40:07 +0000"  >&lt;p&gt;sorry typo in commit. Problem is now is here 404 but every draft have 409&lt;/p&gt;

&lt;p&gt;We want change this value to 409&lt;/p&gt;</comment>
                            <comment id="68087" author="jluhrsen" created="Mon, 4 May 2020 16:47:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, the task here is to return 409 for the data-missing case which we see outlined in the &lt;a href=&quot;https://tools.ietf.org/html/rfc8040#page-73&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;8040 RFC&lt;/a&gt; Right now we are getting 404.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://tools.ietf.org/html/draft-bierman-netconf-restconf-02#page-65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;bierman draft&lt;/a&gt; also has 409 for data-missing. I didn&apos;t really follow&lt;br/&gt;
the original &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=1503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;bugzilla &lt;/a&gt; on this to understand why it was changed from 409 to 404 originally.&lt;br/&gt;
Is there some other spec I should be looking?&lt;/p&gt;</comment>
                            <comment id="68094" author="rovarga" created="Wed, 6 May 2020 10:51:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt; the core argument based on HTTP/1.1 (&lt;a href=&quot;https://tools.ietf.org/html/rfc7231)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc7231)&lt;/a&gt; and the initial response is here: &lt;a href=&quot;https://mailarchive.ietf.org/arch/msg/netconf/hkVDdHK4xA74NgvXzWP0zObMiyY/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mailarchive.ietf.org/arch/msg/netconf/hkVDdHK4xA74NgvXzWP0zObMiyY/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="68407" author="rovarga" created="Tue, 7 Jul 2020 09:55:33 +0000"  >&lt;p&gt;Magnesium/Sodium will carry this as a selectable behavior.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="25225">CONTROLLER-671</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|i03sav:</customfieldvalue>

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