<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:56 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-188] Can&apos;t resolve leafref when its path isn&apos;t part of the grouping declaring it</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-188</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;I&#8217;m having trouble with a leafref definition:&lt;br/&gt;
if I&#8217;m using relative path ../../../../../component/config/name&lt;br/&gt;
yangtool fails with the following error: &lt;a href=&quot;https://gist.github.com/adetalhouet/3fa35df94f530a24a936d9a3165bd36e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/adetalhouet/3fa35df94f530a24a936d9a3165bd36e&lt;/a&gt;&lt;br/&gt;
if I&#8217;m using plain path, so /components/component/config/name&lt;br/&gt;
yangtool succeed.&lt;/p&gt;

&lt;p&gt;This is the yang model &lt;a href=&quot;https://github.com/openconfig/public/blob/master/release/models/platform/openconfig-platform.yang&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/openconfig/public/blob/master/release/models/platform/openconfig-platform.yang&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27010">MDSAL-188</key>
            <summary>Can&apos;t resolve leafref when its path isn&apos;t part of the grouping declaring it</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="adetalhouet">Alexis de Talhou&#235;t</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Jul 2016 11:30:43 +0000</created>
                <updated>Thu, 3 May 2018 14:50:11 +0000</updated>
                            <resolved>Thu, 21 Jul 2016 11:09:33 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="54385" author="adetalhouet" created="Fri, 15 Jul 2016 11:31:13 +0000"  >&lt;p&gt;From Peter Kajsa:&lt;/p&gt;

&lt;p&gt;&quot;MD-SAL (according to the current binding specification) generates java classes also for groupings and so when MD-SAL tries to generate java class for &#8222;platform-subcomponent-ref-config&#8220; grouping, it evaluates the leafref relative path in context of this grouping and therefore no node is found.&lt;/p&gt;

&lt;p&gt; grouping platform-subcomponent-ref-config {&lt;br/&gt;
    description&lt;br/&gt;
      &quot;Configuration data for subcomponent references&quot;;&lt;/p&gt;

&lt;p&gt;    leaf name {&lt;br/&gt;
      type leafref &lt;/p&gt;
{
        path &quot;../../../../../component/config/name&quot;;
      }
&lt;p&gt;      description&lt;br/&gt;
        &quot;Reference to the name of the subcomponent&quot;;&lt;br/&gt;
    }&lt;br/&gt;
  }&quot;&lt;/p&gt;</comment>
                            <comment id="54386" author="martin.ciglan" created="Wed, 20 Jul 2016 08:50:35 +0000"  >&lt;p&gt;Hi Alexis&lt;/p&gt;

&lt;p&gt;can you please have a look at &lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=6141&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=6141&lt;/a&gt; and confirm possible duplicate?&lt;/p&gt;

&lt;p&gt;I can&apos;t reach github link you have provided so I am not sure about error stacktrace. Thank you.&lt;/p&gt;

&lt;p&gt;   Martin&lt;/p&gt;</comment>
                            <comment id="54387" author="adetalhouet" created="Wed, 20 Jul 2016 12:31:43 +0000"  >&lt;p&gt;Hello Martin,&lt;/p&gt;

&lt;p&gt;My bad I deleted that gist, but you&apos;re correct, this bug is a duplicate of BUG-6141.&lt;/p&gt;

&lt;p&gt;I see Boron-RC0 as target, will it be on schedule?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Alexis&lt;/p&gt;</comment>
                            <comment id="54388" author="martin.ciglan" created="Thu, 21 Jul 2016 11:09:33 +0000"  >&lt;p&gt;Hi Alexis&lt;/p&gt;

&lt;p&gt;Thanks for check. At the moment, target is next available one, but bug is not assigned to anybody yet. I will let you know.&lt;/p&gt;

&lt;p&gt;   Martin&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="27004">MDSAL-182</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>6194</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=6194]]></customfieldvalue>

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

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