<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:46 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-750] JSON response for non matching endtag with header containing accept application/xml</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-750</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When making the request below a JSON response was received when a XML format was expected.&lt;/p&gt;

&lt;p&gt;Adding a flow with a non matching end tag. &lt;/p&gt;

&lt;p&gt;&apos;method&apos;: &apos;POST&apos;,&lt;br/&gt;
    &apos;uri&apos;: &apos;/config/opendaylight-inventory:nodes/node/foo:node:18/table/18&apos;,&lt;br/&gt;
    &apos;headers&apos;: &lt;/p&gt;
{&apos;content-type&apos;: &apos;application/xml&apos;,&apos;accept&apos;:&apos;application/xml&apos;}
&lt;p&gt;,&lt;br/&gt;
    &apos;data&apos;: &apos;&apos;&apos;&amp;lt;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;18&amp;lt;/id&amp;gt;  &lt;br/&gt;
    &amp;lt;instructions&amp;gt;&lt;br/&gt;
        &amp;lt;instruction&amp;gt;&lt;br/&gt;
            &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
        &amp;lt;/instruction&amp;gt;&lt;br/&gt;
&amp;lt;/flow&amp;gt;&apos;&apos;&apos;,&lt;br/&gt;
    &apos;expected_status&apos;: 400,&lt;br/&gt;
    &apos;expected&apos;: &apos;&apos;&apos;&amp;lt;errors xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-restconf&quot;&amp;gt;&amp;lt;error&amp;gt;&amp;lt;error-type&amp;gt;protocol&amp;lt;/error-type&amp;gt;&amp;lt;error-tag&amp;gt;malformed-message&amp;lt;/error-tag&amp;gt;&amp;lt;error-message&amp;gt;Error parsing input: ParseError at &lt;span class=&quot;error&quot;&gt;&amp;#91;row,col&amp;#93;&lt;/span&gt;:&lt;span class=&quot;error&quot;&gt;&amp;#91;7,3&amp;#93;&lt;/span&gt; Message: The element type &quot;instructions&quot; must be terminated by the matching end-tag &quot;&amp;lt;/instructions&amp;gt;&quot;.&amp;lt;/error-message&amp;gt;&amp;lt;/error&amp;gt;&amp;lt;/errors&amp;gt;&apos;&apos;&apos;&lt;/p&gt;


&lt;p&gt;RECEIVED&lt;/p&gt;

&lt;p&gt;{&apos;errors&apos;: {&apos;error&apos;: &lt;/p&gt;
{&apos;error-type&apos;: &apos;protocol&apos;, &apos;error-tag&apos;: &apos;malformed-message&apos;, &apos;error-message&apos;: &apos;error parsing input: parseerror at [row,col]:[7,3]\nmessage: the element type &quot;instructions&quot; must be terminated by the matching end-tag &quot;&amp;lt;/instructions&amp;gt;&quot;.&apos;}
&lt;p&gt;}}&lt;/p&gt;

&lt;p&gt;TEST ENV&lt;/p&gt;

&lt;p&gt;org.opendaylight.controller.version = 0.1&lt;br/&gt;
org.opendaylight.controller.build.scm.version = 78fec1c1c5a3720bd48d1044703824626f08b5d9&lt;br/&gt;
org.opendaylight.controller.build.user = jenkins-controller&lt;br/&gt;
org.opendaylight.controller.build.workspace = **********&lt;br/&gt;
org.opendaylight.controller.build.timestamp = 1409283738738&lt;br/&gt;
org.opendaylight.controller.build.machine = **********&lt;br/&gt;
~&lt;/p&gt;



&lt;p&gt;STEPS&lt;br/&gt;
Used the cisco-sp artifact athttp://sn-bldsg.cisco.com/jenkins/job/ODL-CISCO-SP/1649/ no special configuration needed.  I will repeat the test with the ODL SP edition.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25304">CONTROLLER-750</key>
            <summary>JSON response for non matching endtag with header containing accept application/xml</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="ricjhill@gmail.com">RichardHill</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Sep 2014 11:31:10 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:07 +0000</updated>
                            <resolved>Wed, 17 Sep 2014 11:22:03 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="49005" author="tony.tkacik@gmail.com" created="Mon, 8 Sep 2014 09:13:10 +0000"  >&lt;p&gt;Please provide steps to reproduce, since I was unable to reproduce it using Postman and request you provided.&lt;/p&gt;</comment>
                            <comment id="49006" author="tony.tkacik@gmail.com" created="Tue, 9 Sep 2014 10:44:10 +0000"  >&lt;p&gt;Could not replicate on current master and 1 week old master.&lt;/p&gt;</comment>
                            <comment id="49007" author="ricjhill@gmail.com" created="Fri, 12 Sep 2014 05:01:49 +0000"  >&lt;p&gt;As you discussed later this was due to postman sanitising the HTTP headers  so reopening the bug.&lt;/p&gt;</comment>
                            <comment id="49008" author="jgloncak" created="Tue, 16 Sep 2014 13:28:48 +0000"  >&lt;p&gt;patch set&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/11234&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/11234&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Returning value (errors or data) will be by default in JSON format.&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1659</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=1659]]></customfieldvalue>

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

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

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