Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-849

Fields filtering fails for leafs in lists

    XMLWordPrintable

Details

    Description

      Trying to filter out leafs in list using fields query returns 500.

      http://127.0.0.1:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=testtool/yang-ext:mount/test-module:root?content=config&fields=list-root(top-list(key-1))

      Relevant log message attached below in log.txt.

      HTTP response:
       

       <html> 
       <head> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <title>Error 500 Request failed.</title> </head> 
       <body> <h2>HTTP ERROR 500 Request failed.</h2> <table> <tr> <th>URI:</th> <td>/rests/data/network-topology:network-topology/topology=topology-netconf/node=testtool/yang-ext:mount/test-module:root </td> </tr> <tr> <th>STATUS:</th> <td>500</td> </tr> <tr> <th>MESSAGE:</th> <td>Request failed.</td> </tr> <tr> <th>SERVLET:</th> <td>org.glassfish.jersey.servlet.ServletContainer</td> </tr> </table> 
       </body> 
       </html>

       

      Attachments

        1. test-module@2020-10-27.yang
          3 kB
          Peter Puškár
        2. test-augment@2020-10-27.yang
          0.8 kB
          Peter Puškár
        3. log.txt
          26 kB
          Peter Puškár
        4. config.txt
          4 kB
          Peter Puškár

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              ppuskar Peter Puškár
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: