<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:40 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-707] PUT fails to validate outer object name in json</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-707</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I found that if I perform a PUT to toaster I am able to define any content for the outer module name. That is I can do a PUT to:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/restconf/config/toaster:toaster&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/toaster:toaster&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;with this body:&lt;/p&gt;

&lt;p&gt;{ &lt;br/&gt;
    &quot;ANY_TEXT_YOU_WANT&quot;:&lt;/p&gt;
{
           darknessFactor:&quot;4&quot;
   }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Essentially the ANY_TEXT_YOU_WANT is completely ignored by the parser. We should either validate it, or better yet, do NOT require it. That is I should be able to PUT to the above toaster URL just&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
    darknessFactor:&quot;4&quot;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;since I am already in the context of toaster based on the URL.&lt;/p&gt;

&lt;p&gt;I do not know if the same problem exists with XML.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25261">CONTROLLER-707</key>
            <summary>PUT fails to validate outer object name in json</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="devin.avery@brocade.com">Devin Avery</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Aug 2014 18:27:11 +0000</created>
                <updated>Tue, 14 Nov 2017 15:18:00 +0000</updated>
                            <resolved>Thu, 11 Sep 2014 09:54:57 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48903" author="jgloncak" created="Mon, 8 Sep 2014 12:59:12 +0000"  >&lt;p&gt;Higher described behavior was caused with normalizedNodeName() which ignores nodeBuilder&apos;s localName and use QName from schemaNode which is specified as input of this method.&lt;/p&gt;

&lt;p&gt;Validation method was added befare normalization call.&lt;/p&gt;

&lt;p&gt;Patch set&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/10903/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/10903/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48904" author="jgloncak" created="Mon, 8 Sep 2014 13:14:02 +0000"  >&lt;p&gt;BTW, the same behavior was also identified in XML&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>1582</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=1582]]></customfieldvalue>

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

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

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