<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08: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-78] Unable to write DateAndTime [ietf-yang-types] to data store</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-78</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;I am writing to oeprational/ietf-interfaces:interface-state from my code &lt;span class=&quot;error&quot;&gt;&amp;#91;vpnmanager&amp;#93;&lt;/span&gt; but ran into following exception on write:&lt;/p&gt;

&lt;p&gt;2015-04-10 19:27:14,686 | WARN  | ult-dispatcher-2 | JavassistUtils                   | 92 - org.opendaylight.yangtools.binding-generator-impl - 0.7.0.SNAPSHOT | Failed to customize org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state._interface.Statistics$StreamWriter from prototype org.opendaylight.yangtools.binding.data.codec.gen.impl.DataObjectSerializerPrototype&lt;br/&gt;
javassist.CannotCompileException: &lt;span class=&quot;error&quot;&gt;&amp;#91;source error&amp;#93;&lt;/span&gt; no such class: org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime&lt;br/&gt;
	at javassist.CtBehavior.setBody(CtBehavior.java:446)&lt;span class=&quot;error&quot;&gt;&amp;#91;89:javassist:3.19.0.GA&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;This is the import statement in my code as well as generated file &lt;span class=&quot;error&quot;&gt;&amp;#91;org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.java generated from ietf-interfaces.yang&amp;#93;&lt;/span&gt;:&lt;/p&gt;

&lt;p&gt;import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev100924.DateAndTime;&lt;/p&gt;

&lt;p&gt;Bug is that rev130715.DateAndTime is being used even though the generated code says rev100924.DateAndTime. Either generated code should pick more recent revision or at the time of serialization it should look for the right class.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26900">MDSAL-78</key>
            <summary>Unable to write DateAndTime [ietf-yang-types] to data store</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="thapar">Vishal Thapar</assignee>
                                    <reporter username="thapar">Vishal Thapar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Apr 2015 14:39:38 +0000</created>
                <updated>Sat, 16 Mar 2019 16:24:56 +0000</updated>
                            <resolved>Sat, 16 Mar 2019 16:24:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="54104" author="tony.tkacik@gmail.com" created="Mon, 13 Apr 2015 07:23:39 +0000"  >&lt;p&gt;Hi, does your model import ietf-yang-types by revision or revision is missing in ietf-interfaces model?&lt;/p&gt;

&lt;p&gt;If it is missing, workaround to this is to use revision-date along with your import statement to fix revisions.&lt;/p&gt;</comment>
                            <comment id="54105" author="thapar" created="Mon, 13 Apr 2015 22:36:25 +0000"  >&lt;p&gt;Hi Tony,&lt;/p&gt;

&lt;p&gt;This is not a custom yang but the the ietf-interfaces.yang in model/ietf. It is the standard yang file &lt;span class=&quot;error&quot;&gt;&amp;#91;RFC 7223&amp;#93;&lt;/span&gt; and doesn&apos;t include the revision.&lt;/p&gt;

&lt;p&gt;Would you recommend editing this file to add revision?&lt;/p&gt;</comment>
                            <comment id="54106" author="tony.tkacik@gmail.com" created="Tue, 14 Apr 2015 07:35:52 +0000"  >&lt;p&gt;Yes, my recommendation for work-around is to add revision.&lt;/p&gt;

&lt;p&gt;To fix this issue in ODL would require larger effort which could not be fixed in following one or two weeks.&lt;/p&gt;</comment>
                            <comment id="54107" author="thapar" created="Wed, 15 Apr 2015 05:32:25 +0000"  >&lt;p&gt;Workaround awaiting Code Review: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/18264/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/18264/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54108" author="rovarga" created="Sun, 19 Apr 2015 01:42:04 +0000"  >&lt;p&gt;Changed to a bug and downgraded severity since a workaround exists.&lt;/p&gt;</comment>
                            <comment id="54109" author="rgoulding" created="Tue, 2 Feb 2016 17:37:23 +0000"  >&lt;p&gt;We downgraded this issue in the MD-SAL call because there is a workaround.  Tony is working hard to try to get this into RC3.&lt;/p&gt;</comment>
                            <comment id="64541" author="rovarga" created="Sat, 4 Aug 2018 01:36:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=thapar&quot; class=&quot;user-hover&quot; rel=&quot;thapar&quot;&gt;thapar&lt;/a&gt; is this still reproducible?&lt;/p&gt;</comment>
                            <comment id="66580" author="rovarga" created="Sat, 16 Mar 2019 16:24:56 +0000"  >&lt;p&gt;Please reopen if this reproduces again.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23551">BGPCEP-311</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>2974</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=2974]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02w6f:</customfieldvalue>

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