<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:07 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>[YANGTOOLS-1427] Do not fallback to toString() in UnionStringCodec</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1427</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;UnionStringCodec does the wrong thing when it encounters a type which is not handled by TypeDefinitionAwareCodec: it falls back to invoking toString() on the value. The types not handled are: identityref, instance-identifier and leafref. One example of how this can go wrong is &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-1108&quot; title=&quot;Leaf of type union containing identity-ref is not correctly transformed to XML&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-1108&quot;&gt;&lt;del&gt;YANGTOOLS-1108&lt;/del&gt;&lt;/a&gt;. Let&apos;s just remove the codepath and start flushing out any offenders out there.&lt;/p&gt;

&lt;p&gt;To achieve this, we will take two steps:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;we will remove the toString() fallback and perform an eager codec construction to see if we can handle the type at all. If we cannot, we will return null&lt;/li&gt;
	&lt;li&gt;we will remove UnionStringCodec and always return it as unhandled&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;In this issue we will do the first item and introduce a system property to turn the behaviour to the second item.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35507">YANGTOOLS-1427</key>
            <summary>Do not fallback to toString() in UnionStringCodec</summary>
                <type id="10101" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</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="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Apr 2022 23:04:54 +0000</created>
                <updated>Fri, 5 Jan 2024 16:42:22 +0000</updated>
                            <resolved>Mon, 20 Jun 2022 11:09:45 +0000</resolved>
                                                    <fixVersion>9.0.0</fixVersion>
                                    <component>data-impl</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10300">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="37809">YANGTOOLS-1560</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="34474">YANGTOOLS-1332</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="35048">NETCONF-845</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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i04247:</customfieldvalue>

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