<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:34 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-1058] Union type has wrong type</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1058</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
module definition-test {
&#160; namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;urn:definition-test&quot;&lt;/span&gt;;
&#160; prefix sample;&#160; typedef topology-ref {
&#160; &#160; type instance-identifier;
&#160; }&#160; container binary-container {
&#160; &#160; leaf binary-data {
&#160; &#160; &#160; type binary;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;SGVsbG8gdGVzdCE=&quot;&lt;/span&gt;;
&#160; &#160; }
&#160; }&#160; container union-container {
&#160; &#160; leaf testUnion1 {
&#160; &#160; &#160; type union {
&#160; &#160; &#160; &#160; type int32;
&#160; &#160; &#160; &#160; type string;
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 5;
&#160; &#160; }&#160; &#160; leaf testUnion2 {
&#160; &#160; &#160; type union {
&#160; &#160; &#160; &#160; type string;
&#160; &#160; &#160; &#160; type &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;;
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; }&#160; &#160; leaf testUnion3 {
&#160; &#160; &#160; type union {
&#160; &#160; &#160; &#160; type int32;
&#160; &#160; &#160; &#160; type &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;;
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
&#160; &#160; }&#160; &#160; leaf testBoolean {
&#160; &#160; &#160; type &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
&#160; &#160; }
&#160; }&#160; container number-container {
&#160; &#160; leaf testInteger {
&#160; &#160; &#160; type int32;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 42;
&#160; &#160; }&#160; &#160; leaf testUnsignedInteger {
&#160; &#160; &#160; type uint16;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 100;
&#160; &#160; }&#160; &#160; leaf testDecimal {
&#160; &#160; &#160; type decimal64 {
&#160; &#160; &#160; &#160; fraction-digits 2;
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 3.14;
&#160; &#160; }&#160; &#160; leaf testDouble {
&#160; &#160; &#160; type decimal64 {
&#160; &#160; &#160; &#160; fraction-digits 11;
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 3.14159265359;
&#160; &#160; }&#160; &#160; leaf testInt64 {
&#160; &#160; &#160; type int64;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 42;
&#160; &#160; }&#160; &#160; leaf testUint64 {
&#160; &#160; &#160; type uint64;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; 42;
&#160; &#160; }
&#160; }&#160; container &lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt;-container {
&#160; &#160; leaf status {
&#160; &#160; &#160; type enumeration {
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; up {
&#160; &#160; &#160; &#160; &#160; value 1;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt; down {
&#160; &#160; &#160; &#160; &#160; value 2;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; }
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;up&quot;&lt;/span&gt;;
&#160; &#160; }
&#160; }&#160; container network-container {
&#160; &#160; leaf network-ref {
&#160; &#160; &#160; type topology-ref;
&#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;/network/nodes[node-id=&lt;span class=&quot;code-quote&quot;&gt;&apos;node1&apos;&lt;/span&gt;]&quot;&lt;/span&gt;;
&#160; &#160; }
&#160; }
}
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;When using union type for string and boolean as in the model, string value is registered instead of boolean.&lt;br/&gt;
see:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.opendaylight.org/secure/attachment/19100/19100_image-2023-08-23-11-35-12-700.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/63cd5771fe9b2998fd8c53db92d9abe9558bbe6d/restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/DefinitionGenerator.java#L882&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;netconf/DefinitionGenerator.java at 63cd5771fe9b2998fd8c53db92d9abe9558bbe6d &#183; opendaylight/netconf (github.com)&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="37011">NETCONF-1058</key>
            <summary>Union type has wrong type</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="tobias.pobocik">Tobias Pobocik</assignee>
                                    <reporter username="tobias.pobocik">Tobias Pobocik</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Thu, 15 Jun 2023 15:57:48 +0000</created>
                <updated>Mon, 25 Sep 2023 06:49:40 +0000</updated>
                                                            <fixVersion>7.0.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="72501" author="JIRAUSER15303" created="Wed, 23 Aug 2023 09:36:19 +0000"  >&lt;p&gt;This issue has been resolved in:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/107334&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/107334&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="19100" name="image-2023-08-23-11-35-12-700.png" size="18309" author="tobias.pobocik" created="Wed, 23 Aug 2023 09:35:13 +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|i045hj:</customfieldvalue>

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