<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:35 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>[MDSAL-352] leafref to leaf of type enum in grouping causes codegen failure</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-352</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;This YANG causes the following error during maven code generation:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Failed to find leafref target: /operations/operation/effort in module enum-leafref&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;tt&gt;module enum-leafref {&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;&#160; namespace &quot;urn:donaldh:yang:leafref:bug&quot;;&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;&#160; prefix l;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&#160; typedef action-effort&#160;{&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; type enumeration {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; enum best-effort {&lt;/tt&gt;&lt;br/&gt;
{{&#160; &#160; &#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; enum exact-match {&lt;/tt&gt;&lt;br/&gt;
{{&#160; &#160; &#160; }}}}}&lt;br/&gt;
{{&#160; &#160; }}}&lt;br/&gt;
{{&#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160; container operations {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; list operation {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; key &apos;effort&apos;;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; uses operation-g;&lt;/tt&gt;&lt;br/&gt;
{{&#160; &#160; }}}&lt;br/&gt;
{{&#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160; grouping operation-g {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; leaf effort&#160;&lt;/tt&gt;{{{}}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; type action-effort;&lt;/tt&gt;&lt;br/&gt;
{{&#160; &#160; }}}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; leaf-list operation {&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; type leafref&#160;&lt;/tt&gt;{{{}}&lt;br/&gt;
&lt;tt&gt;&#160; &#160; &#160; &#160; path &apos;/operations/operation/effort&apos;;&lt;/tt&gt;&lt;br/&gt;
{{&#160; &#160; &#160; }}}&lt;br/&gt;
{{&#160; &#160; }}}&lt;br/&gt;
{{&#160; }}}&lt;br/&gt;
&lt;tt&gt;}&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;It is possible to work around the bug by either changing&#160;leaf &quot;effort&quot; to be type string or by collapsing grouping &quot;operation-g&quot; into list &quot;operation&quot;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30147">MDSAL-352</key>
            <summary>leafref to leaf of type enum in grouping causes codegen failure</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="rovarga">Robert Varga</assignee>
                                    <reporter username="donaldh">Donald Hunter</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Jun 2018 11:24:53 +0000</created>
                <updated>Thu, 9 Aug 2018 20:47:48 +0000</updated>
                            <resolved>Thu, 9 Aug 2018 20:47:48 +0000</resolved>
                                    <version>Oxygen</version>
                    <version>Fluorine</version>
                    <version>Nitrogen SR3</version>
                                    <fixVersion>Fluorine</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="63484" author="rovarga" created="Tue, 19 Jun 2018 12:57:57 +0000"  >&lt;p&gt;Looks like confusion around how to look up the target type after acquiring the target leaf.&lt;/p&gt;</comment>
                            <comment id="64582" author="rovarga" created="Tue, 7 Aug 2018 14:18:52 +0000"  >&lt;p&gt;This is blocking inclusion of ietf-hardware model, hence scheduling for Fluorine and marking as blocker.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="30502">MDSAL-367</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14703" name="enum-leafref.yang" size="493" author="donaldh" created="Tue, 19 Jun 2018 11:29:24 +0000"/>
                            <attachment id="14702" name="stacktrace.txt" size="4206" author="donaldh" created="Tue, 19 Jun 2018 11:29:11 +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|i03fo7:</customfieldvalue>

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