<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:16 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>[YANGTOOLS-443] Error - empty type not parsed correctly in JSON format</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-443</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I have controller master branch from 19th of March and I&#8217;m working with node of type empty. &lt;/p&gt;

&lt;p&gt;The problem is with JSON format. Successful ways for PUT in JSON format are to put &quot;link-status&quot; : null according to this specification:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.xml.com/lpt/a/1658&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.xml.com/lpt/a/1658&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Get request retrieve always data this way  &quot;link-status&quot; : &quot;&quot;. But according to this specification:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tools.ietf.org/html/draft-lhotka-netmod-yang-json-02#section-3.3.9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/draft-lhotka-netmod-yang-json-02#section-3.3.9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we should PUT empty element this way &quot;link-status&quot; : &lt;span class=&quot;error&quot;&gt;&amp;#91;null&amp;#93;&lt;/span&gt; but I&#8217;m getting 400 bad request error: &lt;br/&gt;
 &quot;error-type&quot;: &quot;protocol&quot;,&lt;br/&gt;
                &quot;error-tag&quot;: &quot;malformed-message&quot;,&lt;br/&gt;
                &quot;error-message&quot;: &quot;Error parsing input: Incorrect nesting caused by parser.&quot;&lt;/p&gt;


&lt;p&gt;Could you please tell us if the second way is correct and if it&apos;s just not working or the right way is first option (w/o array)? The second question is if the respond data &quot;link-status&quot; : &quot;&quot; are correct.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22863">YANGTOOLS-443</key>
            <summary>Error - empty type not parsed correctly in JSON format</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="zkrnac@cisco.com">Zdenko Krnac</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Apr 2015 09:36:19 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:31 +0000</updated>
                            <resolved>Tue, 12 May 2015 13:38:51 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="43359" author="tony.tkacik@gmail.com" created="Tue, 12 May 2015 11:33:15 +0000"  >&lt;p&gt;remote:   &lt;a href=&quot;https://git.opendaylight.org/gerrit/20104&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/20104&lt;/a&gt;&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>2973</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=2973]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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