<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:26 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>[YANGTOOLS-503] Incorrect union generated code when using decimal64</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-503</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Code generation fails when processing next yang input:&lt;/p&gt;

&lt;p&gt;  typedef cd-working-range-t {&lt;br/&gt;
    type union {&lt;br/&gt;
      type enumeration &lt;/p&gt;
{
        enum &quot;NA&quot;;
      }
&lt;p&gt;      type decimal64 &lt;/p&gt;
{
        fraction-digits 2;
        range &quot;-70000..70000&quot;;
      }
&lt;p&gt;    }&lt;br/&gt;
  }&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;with following error:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; /C:/*/CdWorkingRangeT.java:&lt;span class=&quot;error&quot;&gt;&amp;#91;24,33&amp;#93;&lt;/span&gt; cannot find symbol&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; symbol:   method getValue()&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; location: variable _decimal64 of type java.math.BigDecimal&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;BigDecimal doesn&apos;t have .getValue() method, so code generator should take this into account.&lt;/p&gt;

&lt;p&gt;Problem was reported for Helium-SR4, but it persists even in Beryllium.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22923">YANGTOOLS-503</key>
            <summary>Incorrect union generated code when using decimal64</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="michal.polkorab@gmail.com">Michal Polkorab</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Sep 2015 07:34:57 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:37 +0000</updated>
                            <resolved>Thu, 1 Oct 2015 23:42:38 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="43504" author="martin.ciglan" created="Mon, 14 Sep 2015 08:02:57 +0000"  >&lt;p&gt;replicated&lt;/p&gt;</comment>
                            <comment id="43505" author="martin.ciglan" created="Mon, 14 Sep 2015 14:30:21 +0000"  >&lt;p&gt;Both BigDecimal &amp;amp; BigInteger types from java.math package suffer from this issue. &lt;br/&gt;
Will come back with solution ASAP&lt;/p&gt;</comment>
                            <comment id="43506" author="martin.ciglan" created="Mon, 14 Sep 2015 15:25:52 +0000"  >&lt;p&gt;fix pushed:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/26918/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/26918/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43507" author="tony.tkacik@gmail.com" created="Tue, 22 Sep 2015 07:13:25 +0000"  >&lt;p&gt;Needs also porting to mdsal-project&lt;/p&gt;</comment>
                            <comment id="43508" author="martin.ciglan" created="Tue, 22 Sep 2015 12:59:02 +0000"  >&lt;p&gt;fix pushed to mdsal:&lt;/p&gt;

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

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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