<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:21 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-964] YangLib returns a 500 error if the requested SchemaSource is not available</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-964</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;If a request is made to display a YANG model that is not loaded or if the request contains a typo, YangLib returns a 500 error instead of a useful response.&lt;/p&gt;

&lt;p&gt;The YangLibProvider handles this scenario by throwing an &lt;tt&gt;IllegalStateException&lt;/tt&gt; with a message. This exception can be used in a way that results in a correct response.&lt;/p&gt;</description>
                <environment></environment>
        <key id="36700">NETCONF-964</key>
            <summary>YangLib returns a 500 error if the requested SchemaSource is not available</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="simon0pt">&#352;imon Uku&#353;</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Fri, 10 Feb 2023 14:39:47 +0000</created>
                <updated>Tue, 6 Jun 2023 10:57:04 +0000</updated>
                            <resolved>Tue, 6 Jun 2023 10:55:34 +0000</resolved>
                                                    <fixVersion>6.0.0</fixVersion>
                                    <component>netconf</component>
                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="72037" author="ivanhrasko" created="Thu, 2 Mar 2023 09:13:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=PeterSuna&quot; class=&quot;user-hover&quot; rel=&quot;PeterSuna&quot;&gt;PeterSuna&lt;/a&gt; &quot;This exception can be used in a way that results in a correct response.&quot; What do you mean by &quot;correct&quot; response?&lt;/p&gt;</comment>
                            <comment id="72038" author="petersuna" created="Thu, 2 Mar 2023 10:33:22 +0000"  >&lt;p&gt;Instead of throwing &lt;tt&gt;IllegalStateException&lt;/tt&gt; exception, used one of those:&lt;br/&gt;
&lt;a href=&quot;https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/content/en/part1/chapter7/exception_handling.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/content/en/part1/chapter7/exception_handling.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72227" author="JIRAUSER15508" created="Wed, 31 May 2023 09:01:11 +0000"  >&lt;h1&gt;&lt;a name=&quot;Original&quot;&gt;&lt;/a&gt;&lt;b&gt;Original&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;18819_thumb&quot; href=&quot;https://jira.opendaylight.org/secure/attachment/18819/18819_original.png&quot; title=&quot;original.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;18819&quot; file-preview-title=&quot;original.png&quot;&gt;&lt;img src=&quot;https://jira.opendaylight.org/secure/thumbnail/18819/_thumb_18819.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;After1stpatchhttps%3A%2F%2Fgit.opendaylight.org%2Fgerrit%2Fc%2Fnetconf%2F%2F105867&quot;&gt;&lt;/a&gt;&lt;b&gt;After 1st patch&lt;/b&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/105867&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/105867&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;18818_thumb&quot; href=&quot;https://jira.opendaylight.org/secure/attachment/18818/18818_after-patch-1.png&quot; title=&quot;after-patch-1.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;18818&quot; file-preview-title=&quot;after-patch-1.png&quot;&gt;&lt;img src=&quot;https://jira.opendaylight.org/secure/thumbnail/18818/_thumb_18818.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;h1&gt;&lt;a name=&quot;After2ndpatchhttps%3A%2F%2Fgit.opendaylight.org%2Fgerrit%2Fc%2Fnetconf%2F%2F106300&quot;&gt;&lt;/a&gt;&lt;b&gt;After 2nd patch&lt;/b&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/106300&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/106300&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;18820_thumb&quot; href=&quot;https://jira.opendaylight.org/secure/attachment/18820/18820_after-patch-2.png&quot; title=&quot;after-patch-2.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;18820&quot; file-preview-title=&quot;after-patch-2.png&quot;&gt;&lt;img src=&quot;https://jira.opendaylight.org/secure/thumbnail/18820/_thumb_18820.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="18818" name="after-patch-1.png" size="122555" author="simon0pt" created="Wed, 31 May 2023 08:04:37 +0000"/>
                            <attachment id="18820" name="after-patch-2.png" size="119732" author="simon0pt" created="Wed, 31 May 2023 08:56:41 +0000"/>
                            <attachment id="18819" name="original.png" size="116965" author="simon0pt" created="Wed, 31 May 2023 08:05:26 +0000"/>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i044bb:</customfieldvalue>

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