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

Fields filtering fails for leafs in lists

XMLWordPrintable

      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>

       

        1. config.txt
          4 kB
        2. log.txt
          26 kB
        3. test-augment@2020-10-27.yang
          0.8 kB
        4. test-module@2020-10-27.yang
          3 kB

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

              Created:
              Updated:
              Resolved: