<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:57 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>[CONTROLLER-822] HTTP DELETE raised exception</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-822</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Maybe isn&apos;t bug&lt;br/&gt;
I specified URI to non existing data. After calling DELETE HTTP operation via restconf I got following exception (see attachment)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25376">CONTROLLER-822</key>
            <summary>HTTP DELETE raised exception</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="jgloncak">Jozef Gloncak</assignee>
                                    <reporter username="jgloncak">Jozef Gloncak</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Sep 2014 10:40:03 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:10 +0000</updated>
                            <resolved>Tue, 28 Oct 2014 06:35:08 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="49156" author="jgloncak" created="Fri, 12 Sep 2014 10:40:03 +0000"  >&lt;p&gt;Attachment file_1839.txt has been added with description: caught exception&lt;/p&gt;</comment>
                            <comment id="49149" author="jgloncak" created="Tue, 16 Sep 2014 12:52:32 +0000"  >&lt;p&gt;patch set prepared&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11232/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11232/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49150" author="jgloncak" created="Wed, 24 Sep 2014 12:56:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11232/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11232/&lt;/a&gt;&lt;br/&gt;
remarks from Tom Pantelis incorporated&lt;br/&gt;
(existence of data via read transaction isn&apos;t done. exception raised while submiting transaction is caught and analised whether root cause is ModifiedNodeDoesNotExistException)&lt;/p&gt;</comment>
                            <comment id="49151" author="jgloncak" created="Tue, 14 Oct 2014 11:27:29 +0000"  >&lt;p&gt;remark from Tom Pantelis from gerrit&lt;/p&gt;

&lt;p&gt;Re: returning success when not found, I&apos;m not sure I agree with that. The RFC says to return 200 on success otherwise an appropriate error code. If the target data does not exist then that does not constitute a successful delete, IMO.&lt;/p&gt;</comment>
                            <comment id="49152" author="jgloncak" created="Tue, 14 Oct 2014 11:29:13 +0000"  >&lt;p&gt;I was just asked by Anton Tkacik to do this kind of fix (return HTTP OK also for case when deleting unexisting resource).&lt;/p&gt;</comment>
                            <comment id="49153" author="tony.tkacik@gmail.com" created="Thu, 16 Oct 2014 14:12:50 +0000"  >&lt;p&gt;We should return appropriate error: 404 in this case, not 204, so client knows&lt;br/&gt;
data was already deleted or did not exist in first place.&lt;/p&gt;</comment>
                            <comment id="49154" author="jgloncak" created="Fri, 17 Oct 2014 09:13:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11232/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11232/&lt;/a&gt;&lt;br/&gt;
Http status code 404 is now returned when sb. tries to delete non existing data.&lt;/p&gt;</comment>
                            <comment id="49155" author="jgloncak" created="Tue, 28 Oct 2014 06:35:08 +0000"  >&lt;p&gt;merged 	at Oct 27 11:22 AM&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25494">CONTROLLER-940</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13427" name="file_1839.txt" size="8483" author="jgloncak@cisco.com" created="Fri, 12 Sep 2014 10:40:03 +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>1839</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=1839]]></customfieldvalue>

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

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

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