[IOTDM-48] onem2m-simple-config:iplugin-cfg-key-del doesn`t work properly Created: 19/Jan/17  Updated: 20/Nov/17  Resolved: 27/Feb/17

Status: Resolved
Project: iotdm
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Miroslav Kovac Assignee: Tomas Janciga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7593
Priority: Normal

 Description   

When deleting non existing cfg-key using next request
Post
http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-key-del
{
"input":

{ "plugin-name": "Onem2mExample", "instance-name": "default", "cfg-key": "testKey2" }

}

it will pass first time even though it doesn`t exist and crash second time causing to crash other requests too ->
POST
http://localhost:8181/restconf/operations/onem2m-plugin-manager:onem2m-plugin-manager-simple-config-client-registrations

POST
http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-get-startup-config

POST
http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-get-running-config



 Comments   
Comment by Tomas Janciga [ 27/Feb/17 ]

Fixed, added TC in 200_IoTDMInfraPlugins.robot, TC: 9.13

Generated at Wed Feb 07 20:05:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.