Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Unable to delete LoRaWAN device from Database #1592

Closed
audserraCGI opened this issue Nov 24, 2022 · 0 comments · Fixed by #1593
Closed

Bug: Unable to delete LoRaWAN device from Database #1592

audserraCGI opened this issue Nov 24, 2022 · 0 comments · Fixed by #1593
Assignees
Labels
bug Something isn't working
Milestone

Comments

@audserraCGI
Copy link
Contributor

When trying to delete a LoRaWAN device, it is effectively deleted from Azure but not from the database.

Cause : The delete function is called on a external component "DeleteDevicePage.razor", which calls the DeviceClientService no matter what the type of the device is.

If it is a LoRaWAN Device, the function tries to delete it from the wrong database (Device DB instead of LoRaWAN DB) and it fails.

@audserraCGI audserraCGI added the bug Something isn't working label Nov 24, 2022
@audserraCGI audserraCGI added this to the S47 milestone Nov 24, 2022
@audserraCGI audserraCGI moved this to 📝 Todo in IoT Hub Portal Nov 24, 2022
@hocinehacherouf hocinehacherouf moved this from 📝 Todo to 🚧 In Progress in IoT Hub Portal Nov 24, 2022
@hocinehacherouf hocinehacherouf self-assigned this Nov 24, 2022
@hocinehacherouf hocinehacherouf moved this from 🚧 In Progress to 💬 Ready for Review in IoT Hub Portal Nov 24, 2022
hocinehacherouf added a commit that referenced this issue Nov 24, 2022
* Fix missing delete lorawan device on client side #1592

* Add unit test on DeleteDevicePage
@hocinehacherouf hocinehacherouf moved this from 💬 Ready for Review to 🚀 Ready in IoT Hub Portal Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🚀 Ready
Development

Successfully merging a pull request may close this issue.

2 participants