<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:51 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>[NETCONF-374] Json HTTP PATCH: Problem parsing simple leaf value</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-374</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Yang model as below:&lt;br/&gt;
container configuration{&lt;br/&gt;
  container system{&lt;br/&gt;
    leaf host-name {&lt;br/&gt;
       description &quot;Hostname for this router&quot;;&lt;br/&gt;
       type string &lt;/p&gt;
{
         length &quot;1 .. 255&quot;;
         junos:posix-pattern &quot;^[[:alnum:]._-]+$&quot;;
         junos:pattern-message &quot;Must be a string of alphanumericals, dashes or underscores&quot;;
       }
&lt;p&gt;     }&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;When I tried to replace the &quot;host-name&quot; with following request:&lt;br/&gt;
PATCH &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/jMX/yang-ext:mount/configuration:configuration/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/jMX/yang-ext:mount/configuration:configuration/&lt;/a&gt;&lt;br/&gt;
Payload:&lt;br/&gt;
{&lt;br/&gt;
  &quot;ietf-yang-patch:yang-patch&quot;: {&lt;br/&gt;
    &quot;patch-id&quot;: &quot;ch-hn-1&quot;,&lt;br/&gt;
    &quot;comment&quot;: &quot;Change Hostname-1&quot;,&lt;br/&gt;
    &quot;edit&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;edit-id&quot;: &quot;1&quot;,&lt;br/&gt;
        &quot;operation&quot;: &quot;replace&quot;,&lt;br/&gt;
        &quot;target&quot;: &quot;/configuration:system/configuration:host-name&quot;,&lt;br/&gt;
        &quot;value&quot;: &lt;/p&gt;
{
        &quot;host-name&quot;:&quot;abc&quot;
        }
&lt;p&gt;      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;The respond returns an error &quot;Error parsing json input: Expected BEGIN_OBJECT but was STRING at line 11 column 24 path $.ietf-yang-patch:yang-patch.edit&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;.value.host-name&quot;.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21387">NETCONF-374</key>
            <summary>Json HTTP PATCH: Problem parsing simple leaf value</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="ivan.hrasko@pantheon.tech">Ivan Hrasko</assignee>
                                    <reporter username="ivan.hrasko@pantheon.tech">Ivan Hrasko</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Mar 2017 07:54:49 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:37 +0000</updated>
                            <resolved>Thu, 16 Mar 2017 12:28:34 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="39905" author="ivan.hrasko@pantheon.tech" created="Thu, 16 Mar 2017 11:25:36 +0000"  >&lt;p&gt;cherry pick to stable/boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/53395/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/53395/&lt;/a&gt;&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>7987</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=7987]]></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="10344"><![CDATA[Boron-3]]></customfieldvalue>

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

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