edgexfoundry / device-onvif-camera

Owner: Device WG
Apache License 2.0
29 stars 37 forks source link

[Bosch] Setuser can modify only if user is created through camera web interface #31

Open surajitx-pal opened 2 years ago

surajitx-pal commented 2 years ago

Summary of the problem: 'Set Users' API working only if new user through camera web-interface.

Issue reproducible on below camera models:

Bosch DINION 6000HD

Reproduce steps:

Execute this command to set a new user (Note : new user only create through bosch camera web-page login)

curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/Users \ --header 'Content-Type: application/json' \ --data-raw ' { "Users":{ "Username":"User", "Password":"Password1123!", "UserLevel":"User" } }'

Expected result: set users api will modify an user successfully Actual result: - fault code: SOAP-ENV:Receiver ter:Action -500 return code.

vyshali-chitikeshi commented 1 year ago

Issue reproducible with V3 code