<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:54 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-181] Java binding v1: IAE from provideTypeForLeafref(TypeProviderImpl.java:510)</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-181</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;When an enumeration is typedeffed and then used in leaf, leafref does not find it creating IllegalArgumentException instead.&lt;/p&gt;

&lt;p&gt;Example Yang model: &lt;a href=&quot;https://git.opendaylight.org/gerrit/41142&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/41142&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The stacktrace:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator&lt;br/&gt;
java.lang.IllegalArgumentException: Failed to find leafref target: /tl:my-leaf in module test-leafref (QNameModule&lt;/p&gt;
{ns=odl:test:leafref, rev=2015-04-09}
&lt;p&gt;) &lt;span class=&quot;error&quot;&gt;&amp;#91;org.opendaylight.yangtools.sal.binding.yang.types.TypeProviderImpl@5489b1f7&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.yang.types.TypeProviderImpl.provideTypeForLeafref(TypeProviderImpl.java:510)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.yang.types.TypeProviderImpl.javaTypeForLeafrefOrIdentityRef(TypeProviderImpl.java:318)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.yang.types.TypeProviderImpl.javaTypeForSchemaDefinitionType(TypeProviderImpl.java:211)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.resolveLeafSchemaNodeAsMethod(BindingGeneratorImpl.java:1452)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.addSchemaNodeToBuilderAsMethod(BindingGeneratorImpl.java:1143)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.resolveDataSchemaNodes(BindingGeneratorImpl.java:1080)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.moduleToGenTypes(BindingGeneratorImpl.java:290)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.generateTypes(BindingGeneratorImpl.java:259)&lt;br/&gt;
        at org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl.generateSources(CodeGeneratorImpl.java:61)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSourcesWithOneGenerator(YangToSourcesProcessor.java:348)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSources(YangToSourcesProcessor.java:293)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.execute(YangToSourcesProcessor.java:95)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.conditionalExecute(YangToSourcesProcessor.java:104)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute(YangToSourcesMojo.java:119)&lt;br/&gt;
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)   &lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)&lt;br/&gt;
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)&lt;br/&gt;
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)&lt;br/&gt;
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:498)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27003">MDSAL-181</key>
            <summary>Java binding v1: IAE from provideTypeForLeafref(TypeProviderImpl.java:510)</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="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jun 2016 13:34:01 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:16 +0000</updated>
                            <resolved>Fri, 25 Nov 2016 14:48:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="54356" author="vrpolak" created="Fri, 1 Jul 2016 11:29:02 +0000"  >&lt;p&gt;&amp;gt; Example Yang model: &lt;a href=&quot;https://git.opendaylight.org/gerrit/41142&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/41142&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Only patch set #1, as I forgot to remove old ChangeId when submitting different model.&lt;/p&gt;</comment>
                            <comment id="54357" author="filip.gregor@pantheon.tech" created="Tue, 25 Oct 2016 10:55:08 +0000"  >&lt;p&gt;proposed solution &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/47485/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/47485/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54358" author="rovarga" created="Fri, 28 Oct 2016 10:44:08 +0000"  >&lt;p&gt;boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/47730/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/47730/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54359" author="rovarga" created="Fri, 28 Oct 2016 13:36:41 +0000"  >&lt;p&gt;The fix has been reverted, as it breaks bgpcep in rsvp.yang. There is a top-level lsp-flag typedef, which is used in grouping in a leaf, with mandatory=true.&lt;/p&gt;

&lt;p&gt;That causes:&lt;/p&gt;

&lt;p&gt;11:25:52 &lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; /w/workspace/bgpcep-merge-carbon/rsvp/impl/src/main/java/org/opendaylight/protocol/rsvp/parser/impl/te/ProtectionCommonParser.java:&lt;span class=&quot;error&quot;&gt;&amp;#91;77,40&amp;#93;&lt;/span&gt; incompatible types: org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.LspFlag cannot be converted to org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.subobject.ProtectionSubobject.LspFlag&lt;/p&gt;

&lt;p&gt;e.g. a new type is instantiated instead of reusing the old one. This smells like a failure to check between RestrictedType and its parent...&lt;/p&gt;</comment>
                            <comment id="54360" author="martin.ciglan" created="Wed, 2 Nov 2016 09:31:26 +0000"  >&lt;p&gt;looking into it&lt;/p&gt;</comment>
                            <comment id="54361" author="martin.ciglan" created="Fri, 25 Nov 2016 12:32:07 +0000"  >&lt;p&gt;fix pushed:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48480/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48480/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54362" author="rovarga" created="Fri, 25 Nov 2016 14:00:08 +0000"  >&lt;p&gt;boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/48702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/48702&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27021">MDSAL-199</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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>6135</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=6135]]></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="10335"><![CDATA[Boron-2]]></customfieldvalue>

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

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