<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15: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-511] Incorrect Error mappings in 8040 code</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-511</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;The new 8040 code returns bogus errors when trying to create data resources which already exist via post.&lt;/p&gt;

&lt;p&gt;Instead of returning 409 (same as the old code) or another appropriate 4xx code for a conflict it returns 503 - server failed. This is broken, there is no server failure, the server did its job and determined that a conflict is in place. It should neither pollute the logs nor return bogus error codes to the client.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Tested with json rpc but shows with other data too too.&lt;/p&gt;</environment>
        <key id="29269">NETCONF-511</key>
            <summary>Incorrect Error mappings in 8040 code</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="aivanov">Anton Ivanov</assignee>
                                    <reporter username="aivanov">Anton Ivanov</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Feb 2018 16:47:07 +0000</created>
                <updated>Wed, 16 Jan 2019 12:44:48 +0000</updated>
                            <resolved>Wed, 16 Jan 2019 12:44:48 +0000</resolved>
                                    <version>Oxygen</version>
                    <version>Fluorine</version>
                    <version>Neon</version>
                    <version>Fluorine SR1</version>
                                    <fixVersion>Neon</fixVersion>
                    <fixVersion>Fluorine SR2</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="61205" author="tpantelis" created="Sun, 25 Feb 2018 23:21:17 +0000"  >&lt;p&gt;Can you provide the full error response? Also any error logged in the karaf.log? I don&apos;t see anywhere in the 8040 code where it would throw a RestconfDocumentedException with RestconfError.RESOURCE_DENIED_TRANSPORT which maps to 503 so I suspect the 503 (Service Unavailable) was returned from higher up - perhaps restconf throw an ISE or some other unchecked ex from somewhere. &lt;/p&gt;

&lt;p&gt;Looking at TransactionUtil.checkItemDoesNotExists which is called by PostDataTransactionUtil, it does throw a RestconfDocumentedException with RestconfError.DATA_EXISTS which maps to 409 so it should work as expected..&lt;/p&gt;</comment>
                            <comment id="64873" author="rovarga" created="Tue, 4 Sep 2018 08:55:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=aivanov&quot; class=&quot;user-hover&quot; rel=&quot;aivanov&quot;&gt;aivanov&lt;/a&gt; can you provide the input Tom asked for, please?&lt;/p&gt;</comment>
                            <comment id="64874" author="aivanov" created="Tue, 4 Sep 2018 08:59:34 +0000"  >&lt;p&gt;I unicasted it back at the time. In fact, it needs a retest - Tom and Ryan were working on a fix and it may have been merged along with other patches.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="65136" author="jmorvay" created="Mon, 1 Oct 2018 18:53:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=aivanov&quot; class=&quot;user-hover&quot; rel=&quot;aivanov&quot;&gt;aivanov&lt;/a&gt; do you have some spare cycles to retest this and confirm if it is still present?&lt;/p&gt;</comment>
                            <comment id="66209" author="tcere" created="Wed, 16 Jan 2019 10:50:16 +0000"  >&lt;p&gt;Quick check revealed this was still present, cause was that the status code from RestconfDocumentedException was not forwarded to the WebApplicationException&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|i03apz:</customfieldvalue>

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