<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:10:46 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-732] Binding generator generates uncompilable code for leafref chain with identityref at the end</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-732</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Problem was encountered in openconfig-sonic YANG model using the MDSAL version 8.0.12.&lt;br/&gt;
I prepared a minimized YANG model that reproduces the issue.&lt;br/&gt;
Attached are the minimized YANG model, maven build error message and screenshots of the compilation error as seen in the IDE.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35336">MDSAL-732</key>
            <summary>Binding generator generates uncompilable code for leafref chain with identityref at the end</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="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="ifoltin">Igor Foltin</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Fri, 11 Mar 2022 14:41:48 +0000</created>
                <updated>Mon, 14 Mar 2022 08:08:16 +0000</updated>
                            <resolved>Sat, 12 Mar 2022 10:40:23 +0000</resolved>
                                    <version>8.0.0</version>
                    <version>8.0.12</version>
                                    <fixVersion>9.0.0</fixVersion>
                    <fixVersion>8.0.13</fixVersion>
                                    <component>Binding codegen</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="70633" author="rovarga" created="Fri, 11 Mar 2022 18:32:44 +0000"  >&lt;p&gt;Looks like a missing check for wildcard specifier in the corresponding template. The wildcard should just take the upper bound use it for class. Should be trivial to diagnose &amp;amp; fix.&lt;/p&gt;</comment>
                            <comment id="70634" author="rovarga" created="Fri, 11 Mar 2022 19:11:28 +0000"  >&lt;p&gt;A prototype for a fix is attached, needs to be validated with tests.&lt;/p&gt;</comment>
                            <comment id="70636" author="rovarga" created="Sat, 12 Mar 2022 00:58:42 +0000"  >&lt;p&gt;Seems to have been caused by &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-649&quot; title=&quot;Import type names where possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-649&quot;&gt;&lt;del&gt;MDSAL-649&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Initial implementation used a plan Class as the bounding check, which is also incorrect.&lt;/p&gt;</comment>
                            <comment id="70641" author="ifoltin" created="Mon, 14 Mar 2022 08:08:16 +0000"  >&lt;p&gt;I&apos;ve tried the fix and it solved the issue. Thanks.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="35337">MDSAL-733</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31515">MDSAL-426</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32470">MDSAL-533</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17411" name="ConfigBuilder-constructor-issue.jpg" size="13786" author="ifoltin" created="Fri, 11 Mar 2022 14:37:30 +0000"/>
                            <attachment id="17410" name="ConfigBuilder-fieldsFrom-issue.jpg" size="21234" author="ifoltin" created="Fri, 11 Mar 2022 14:37:30 +0000"/>
                            <attachment id="17412" name="binding-class-compilation-error.txt" size="6817" author="ifoltin" created="Fri, 11 Mar 2022 14:36:51 +0000"/>
                            <attachment id="17413" name="minimized-test-case-model.zip" size="2113" author="ifoltin" created="Fri, 11 Mar 2022 14:36:20 +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|i041s7:</customfieldvalue>

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