<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:06 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-468] invocation of rpc via restconf fails because of whitespace</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-468</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;By deleting group via restconf (operations):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/restconf/operations/sal-group:remove-group&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operations/sal-group:remove-group&lt;/a&gt;&lt;br/&gt;
&amp;#8211; This works &amp;#8211;&lt;br/&gt;
POST:&lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:group:service&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;group-id&amp;gt;1&amp;lt;/group-id&amp;gt;&lt;br/&gt;
    &amp;lt;group-name&amp;gt;Foo&amp;lt;/group-name&amp;gt;&lt;br/&gt;
    &amp;lt;group-type&amp;gt;group-select&amp;lt;/group-type&amp;gt;&lt;/p&gt;

&lt;p&gt;    &amp;lt;node xmlns:inv=&quot;urn:opendaylight:inventory&quot;&amp;gt;/inv:nodes/inv:node&lt;span class=&quot;error&quot;&gt;&amp;#91;inv:id=&amp;quot;openflow:1&amp;quot;&amp;#93;&lt;/span&gt;&amp;lt;/node&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;Response:&lt;br/&gt;
{&lt;br/&gt;
    &quot;output&quot;: &lt;/p&gt;
{
        &quot;transaction-id&quot;: 319
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&amp;#8211; But this fails &amp;#8211;&lt;br/&gt;
POST:&lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:group:service&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;group-id&amp;gt;1&amp;lt;/group-id&amp;gt;&lt;br/&gt;
    &amp;lt;group-name&amp;gt;Foo&amp;lt;/group-name&amp;gt;&lt;br/&gt;
    &amp;lt;group-type&amp;gt;group-select&amp;lt;/group-type&amp;gt;&lt;/p&gt;

&lt;p&gt;    &amp;lt;node xmlns:inv=&quot;urn:opendaylight:inventory&quot;&amp;gt;&lt;br/&gt;
        /inv:nodes/inv:node&lt;span class=&quot;error&quot;&gt;&amp;#91;inv:id=&amp;quot;openflow:1&amp;quot;&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &amp;lt;/node&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;Response:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;
			&lt;ul&gt;
				&lt;li&gt;
				&lt;ul&gt;
					&lt;li&gt;HTTP Status 500 - ******&lt;br/&gt;
===============================================================================&lt;br/&gt;
type Exception report&lt;br/&gt;
message&lt;br/&gt;
description The_server_encountered_an_internal_error_that_prevented_it_from&lt;br/&gt;
fulfilling_this_request.&lt;br/&gt;
exception&lt;br/&gt;
java.lang.IllegalArgumentException&lt;br/&gt;
	com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)&lt;br/&gt;
	org.opendaylight.controller.sal.dom.broker.impl.SchemaAwareRpcBroker$RoutedRpcSelector.invokeRpc&lt;br/&gt;
(SchemaAwareRpcBroker.java:329)&lt;br/&gt;
	org.opendaylight.controller.sal.dom.broker.impl.SchemaAwareRpcBroker.invokeRpc&lt;br/&gt;
(SchemaAwareRpcBroker.java:168)&lt;br/&gt;
	org.opendaylight.controller.sal.dom.broker.BrokerImpl.invokeRpcAsync&lt;br/&gt;
(BrokerImpl.java:116)&lt;br/&gt;
	org.opendaylight.controller.sal.dom.broker.ConsumerContextImpl.rpc&lt;br/&gt;
(ConsumerContextImpl.java:65)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.BrokerFacade.invokeRpc&lt;br/&gt;
(BrokerFacade.java:128)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfImpl.callRpc&lt;br/&gt;
(RestconfImpl.java:624)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfImpl.invokeRpc&lt;br/&gt;
(RestconfImpl.java:566)&lt;br/&gt;
...&lt;/li&gt;
				&lt;/ul&gt;
				&lt;/li&gt;
			&lt;/ul&gt;
			&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25022">CONTROLLER-468</key>
            <summary>invocation of rpc via restconf fails because of whitespace</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="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="michal.rehak">Michal Rehak</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 May 2014 13:18:09 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:45 +0000</updated>
                            <resolved>Fri, 30 May 2014 17:12:02 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="48290" author="tpantelis" created="Wed, 28 May 2014 03:36:55 +0000"  >&lt;p&gt;I also noticed this message:&lt;/p&gt;

&lt;p&gt;  2014-05-25 20:59:48.700 EDT &lt;span class=&quot;error&quot;&gt;&amp;#91;http-bio-8080-exec-7&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.restconf.impl.RestCodec - Value is not instance of InstanceIdentifierTypeDefinition but is class java.lang.String. Therefore NULL is used as translation of  - &lt;br/&gt;
        /inv:nodes/inv:node&lt;span class=&quot;error&quot;&gt;&amp;#91;inv:id=&amp;quot;openflow:1&amp;quot;&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;occurs when there is whitespace.&lt;/p&gt;</comment>
                            <comment id="48291" author="tpantelis" created="Wed, 28 May 2014 17:11:51 +0000"  >&lt;p&gt;Submitted:&lt;/p&gt;

&lt;p&gt;   &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7466/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7466/&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>1003</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=1003]]></customfieldvalue>

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

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