<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:52:19 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-118] enumeration type in key of list error</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-118</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Generation of java code from this yang works:&lt;/p&gt;

&lt;p&gt;typedef permission-type {&lt;br/&gt;
	type enumeration &lt;/p&gt;
{
		enum permit;
		enum deny;
	}
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;container access-control-services {&lt;br/&gt;
	list access-control-service {&lt;br/&gt;
		key &quot;permission&quot;;&lt;/p&gt;

&lt;p&gt;		leaf permission &lt;/p&gt;
{
			type permission-type;
		}
&lt;p&gt;	}&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;-------------------------------------------------------------&lt;br/&gt;
but generation from this has error&lt;/p&gt;

&lt;p&gt;container access-control-services {&lt;br/&gt;
	list access-control-service {&lt;br/&gt;
		key &quot;permission&quot;;&lt;/p&gt;

&lt;p&gt;		leaf permission {&lt;br/&gt;
			type enumeration &lt;/p&gt;
{
				enum permit;
				enum deny;
			}
&lt;p&gt;		}&lt;br/&gt;
	}&lt;br/&gt;
}&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; /PathToGeneratedClass/AccessControlServiceBuilder.java:&lt;span class=&quot;error&quot;&gt;&amp;#91;75,54&amp;#93;&lt;/span&gt; incompatible types&lt;br/&gt;
  required: packageName.AccessControlService.Permission&lt;br/&gt;
  found:    java.lang.Enum&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22538">YANGTOOLS-118</key>
            <summary>enumeration type in key of list error</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="mvitez@cisco.com">Martin Vitez</assignee>
                                    <reporter username="msunal@cisco.com">Martin Sunal</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Mar 2014 13:45:11 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:01 +0000</updated>
                            <resolved>Tue, 8 Apr 2014 09:51:39 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42679" author="mvitez@cisco.com" created="Wed, 2 Apr 2014 09:51:10 +0000"  >&lt;p&gt;Proposed patch: &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/5803/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/5803/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="22528">YANGTOOLS-108</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>586</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=586]]></customfieldvalue>

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

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