<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:13:58 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-23] netconf: Un-helpful error message presented when no service provider is there to handle the RPC call.</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-23</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This was uncovered during execution of the Core Functionality Tutorials, Chapter 2. &lt;/p&gt;

&lt;p&gt;In the tutorial, an RPC call is made to a service provider before that code has been added. &lt;/p&gt;

&lt;p&gt;The expected response is:&lt;/p&gt;

&lt;p&gt;    &quot;error-type&quot;: &quot;rpc&quot;,&lt;br/&gt;
    &quot;error-tag&quot;: &quot;operation-not-supported&quot;,&lt;br/&gt;
    &quot;error-message&quot;: &quot;No implementation for this operation is available.&quot;&lt;/p&gt;


&lt;p&gt;When this call is made:&lt;/p&gt;

&lt;p&gt;curl -H &apos;Content-Type: application/json&apos; -X POST -d &apos;{&quot;input&quot; : {&quot;toaster:toasterDoneness&quot; : &quot;10&quot;,&quot;toaster:toasterToastType&quot;:&quot;wheat-bread&quot;}}&apos; --verbose -u admin:admin &lt;a href=&quot;http://localhost:8181/restconf/operations/toaster:make-toast&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/toaster:make-toast&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The response is:&lt;/p&gt;

&lt;p&gt;    &quot;error-type&quot;:&quot;application&quot;,&lt;br/&gt;
    &quot;error-tag&quot;:&quot;operation-failed&quot;,&lt;br/&gt;
    &quot;error-message&quot;:&quot;The operation encountered an unexpected error while executing.&quot;&lt;/p&gt;

&lt;p&gt;This error message does not lead the developer to the cause of the error message.&lt;/p&gt;

&lt;p&gt;Also, if there&apos;s a typo in the URL as follows:&lt;/p&gt;

&lt;p&gt;curl -H &apos;Content-Type: application/json&apos; -X POST -d &apos;{&quot;input&quot; : {&quot;toaster:toasterDoneness&quot; : &quot;10&quot;,&quot;toaster:toasterToastType&quot;:&quot;wheat-bread&quot;}}&apos; --verbose -u admin:admin &lt;a href=&quot;http://localhost:8181/restconf/operations/toaster:toaster&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operations/toaster:toaster&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The error message is:&lt;/p&gt;

&lt;p&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: Schema node with name input wasn&apos;t found.&quot;&lt;/p&gt;

&lt;p&gt;&quot;malformed-message&quot; is technically incorrect as the message is valid JSON syntax.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;br/&gt;
URL: &lt;a href=&quot;https://wiki.opendaylight.org/view/Controller_Core_Functionality_Tutorials:Tutorials:Starting_A_Project:ch2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Controller_Core_Functionality_Tutorials:Tutorials:Starting_A_Project:ch2&lt;/a&gt;&lt;/p&gt;</environment>
        <key id="21036">NETCONF-23</key>
            <summary>netconf: Un-helpful error message presented when no service provider is there to handle the RPC call.</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="martin.ciglan">Martin Ciglan</assignee>
                                    <reporter username="phillip.shea@hp.com">Phillip Shea</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Apr 2015 17:24:20 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:10 +0000</updated>
                            <resolved>Thu, 7 Jan 2016 13:03:53 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="38774" author="jhajnar@cisco.com" created="Thu, 25 Jun 2015 16:25:21 +0000"  >&lt;p&gt;patch that adds catch for rpc not implemented exception:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/23277/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/23277/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38775" author="rovarga" created="Fri, 13 Nov 2015 12:58:48 +0000"  >&lt;p&gt;Move to NETCONF project&lt;/p&gt;</comment>
                            <comment id="38776" author="tcere" created="Tue, 24 Nov 2015 09:41:14 +0000"  >&lt;p&gt;Needs to be ported to Netconf repo&lt;/p&gt;</comment>
                            <comment id="38777" author="tcere" created="Mon, 21 Dec 2015 13:10:03 +0000"  >&lt;p&gt;port to netconf repo:&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=3015&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=3015&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38778" author="tcere" created="Mon, 21 Dec 2015 13:10:41 +0000"  >&lt;p&gt;bad link:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/31695/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/31695/&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>3015</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=3015]]></customfieldvalue>

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

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

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