<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:13 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-427] JSON Parser does not correctly parsed choice inside augmentation.</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-427</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I set the severity of this bug to blocker, because we cannot finish our Hackathon demo setup, until following issue will be solved:&lt;/p&gt;

&lt;p&gt;Given this augmentation (sfc-model/src/main/yang/service-function-acl.yang):&lt;/p&gt;

&lt;p&gt;augment &quot;/ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-list-entries/ietf-acl:actions&quot; {&lt;br/&gt;
    description &quot;SFC simple filter actions&quot;;&lt;br/&gt;
    choice sfc-action {&lt;br/&gt;
    case acl-rendered-service-path {&lt;br/&gt;
      description &quot;Determine the Service Function Path the packet the packet will&lt;br/&gt;
      traverse&quot;;&lt;br/&gt;
      leaf rendered-service-path &lt;/p&gt;
{
        type string;
      }
&lt;p&gt;     }&lt;br/&gt;
    }&lt;br/&gt;
  }&lt;/p&gt;

&lt;p&gt;I can PUT and then GET data throught RESTconf including the augmentation leaf:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;access-lists&quot;: {&lt;br/&gt;
    &quot;access-list&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;acl-name&quot;: &quot;ACL1&quot;,&lt;br/&gt;
        &quot;access-list-entries&quot;: [&lt;br/&gt;
          {&lt;br/&gt;
            &quot;rule-name&quot;: &quot;ACE1&quot;,&lt;br/&gt;
            &quot;actions&quot;: &lt;/p&gt;
{
              &quot;service-function-acl:rendered-service-path&quot;: &quot;SFC1-SFP1&quot;
            }
&lt;p&gt;          }&lt;br/&gt;
        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;The issue occurs, when I get Listener notification, with corresponding DataObject actions: &lt;/p&gt;

&lt;p&gt;Actions1 actions1 = actions.getAugmentation(Actions1.class);&lt;/p&gt;

&lt;p&gt;actions1 will be always null, even the augmentation data are present (as verified through RESTconf)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22847">YANGTOOLS-427</key>
            <summary>JSON Parser does not correctly parsed choice inside augmentation.</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="akincel@cisco.com">Andrej Kincel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Mar 2015 17:31:36 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:30 +0000</updated>
                            <resolved>Fri, 20 Mar 2015 12:32:32 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="43336" author="tony.tkacik@gmail.com" created="Fri, 20 Mar 2015 10:58:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/16913&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/16913&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43337" author="akincel@cisco.com" created="Fri, 20 Mar 2015 12:32:32 +0000"  >&lt;p&gt;It works flawlessly!&lt;/p&gt;</comment>
                    </comments>
                    <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>2874</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=2874]]></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="10380"><![CDATA[Lithium-M5]]></customfieldvalue>

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

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