opened
brandonforster
username_0
Fixes #2358 
Fixes #2388 

This PR will address the two outstanding bugs above. It ensures that after a provision watcher is updated, the ID returned by the database is propagated back into the provision watcher object before its `notify` method is called. It also ensures that during a provision watcher update, IDs are actually checked and not allow a provision watcher with the same name to be inserted into the database.

As part of this work, code was cleaned up and linter issues were addressed.
Fix provision watcher bugs around updating
issue
created
brandonforster
username_0
@username_1 please verify this fixes your issue.
comment
created
hahattan
username_1
Yes it fixed the issue .
comment
created
tingyuz
username_2
This PR does fix the bug mentioned in the original issue ticket. However when considering a bigger picture of device provisioning some form of security mechanism is needed. The details are captured in a newly create issue here: https://github.com/edgexfoundry/edgex-go/issues/2415
comment