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

PUT request with insert=after cannot add last item into list

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 7.0.0
    • netconf

    Description

      When making a PUT request with `insert=after` query parameter after the last existing one, the request returns a 201 Created status.

      However, the newly inserted item does not appear when fetching the data.

      Steps to reproduce:
      1. Run karaf
      2. feature:install odl-restconf-nb odl-netconf-model-rfc8341
      3. Use Postman collection to write few items to the list

      Attachments

        1. Created 2 item.png
          54 kB
          Yaroslav Lastivka
        2. list with one item.png
          43 kB
          Yaroslav Lastivka
        3. PUT requests for Controller.postman_collection.json
          6 kB
          Yaroslav Lastivka

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              ojo Oleksandr Zharov
              yaroslav.lastivka Yaroslav Lastivka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: