<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14: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>[NETCONF-345] error-info format is not clear, throws up xml snippet</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-345</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;The restconf response for RPC is ambiguous.&lt;/p&gt;

&lt;p&gt;Here is  a sample response I see.&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;errors&quot;: {&lt;br/&gt;
    &quot;error&quot;: [&lt;/p&gt;
      {
        &quot;error-type&quot;: &quot;application&quot;,
        &quot;error-tag&quot;: &quot;data-missing&quot;,
        &quot;error-message&quot;: &quot;tp id given is not valid&quot;,
        &quot;error-info&quot;: &quot;&amp;lt;severity&amp;gt;error&amp;lt;/severity&amp;gt;&quot;
      }
&lt;p&gt;    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;This is JSON response and I see error-info in XML format. Shouldnt this be in JSON format?&lt;/p&gt;

&lt;p&gt;when I add header &#8220;Accept: application/xml&#8221;, the angular brackets are html encoded. Not sure if this is expected behavior.&lt;/p&gt;

&lt;p&gt;&amp;lt;errors xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-restconf&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;error&amp;gt;&lt;br/&gt;
        &amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;&lt;br/&gt;
        &amp;lt;error-tag&amp;gt;data-missing&amp;lt;/error-tag&amp;gt;&lt;br/&gt;
        &amp;lt;error-message&amp;gt;tp id given is not valid&amp;lt;/error-message&amp;gt;&lt;br/&gt;
        &amp;lt;error-info&amp;gt;&amp;lt;severity&amp;gt;error&amp;lt;/severity&amp;gt;&amp;lt;/error-info&amp;gt;&lt;br/&gt;
    &amp;lt;/error&amp;gt;&lt;br/&gt;
&amp;lt;/errors&amp;gt;&lt;/p&gt;

&lt;p&gt;I see something is not right here.  Please suggest and if it is a valid bug, please do the needful.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21358">NETCONF-345</key>
            <summary>error-info format is not clear, throws up xml snippet</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="IaroslavK">Iaroslav Kholiavko</assignee>
                                    <reporter username="hari@harinath.in">Harinath Mallepally</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Jan 2017 19:20:02 +0000</created>
                <updated>Wed, 23 Sep 2020 11:51:01 +0000</updated>
                                                                            <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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>7716</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=7716]]></customfieldvalue>

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

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