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 device in database when the device did not exist in IoTHub #1421

Closed
Sben65 opened this issue Oct 26, 2022 · 0 comments · Fixed by #1499
Closed

Bug: Unable to delete device in database when the device did not exist in IoTHub #1421

Sben65 opened this issue Oct 26, 2022 · 0 comments · Fixed by #1499
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Sben65
Copy link
Contributor

Sben65 commented Oct 26, 2022

Expected Behavior

During synchronization, devices that are no longer present on IoTHub should be removed from the database.

Current Behavior

When a device is no longer present in IoThub and is present in our database, it appears on the device list and causes an error when trying to delete it.

Steps to Reproduce

Context (Environment)

Portal version: 3.3.0
LoRaWAN Stack version:

@Sben65 Sben65 added the bug Something isn't working label Oct 26, 2022
@Sben65 Sben65 moved this to 📝 Todo in IoT Hub Portal Oct 26, 2022
@Sben65 Sben65 self-assigned this Oct 31, 2022
@Sben65 Sben65 added this to the S45 milestone Oct 31, 2022
@Sben65 Sben65 moved this from 📝 Todo to 🚧 In Progress in IoT Hub Portal Oct 31, 2022
Sben65 added a commit that referenced this issue Nov 2, 2022
@Sben65 Sben65 moved this from 🚧 In Progress to 💬 Ready for Review in IoT Hub Portal Nov 2, 2022
kbeaugrand pushed a commit that referenced this issue Nov 2, 2022
…d not exist in IoTHub (#1499)

* resolve #1421

* fix test

* update syncEdgeDevice test

* delete useless using

* feature delete useless device in db for device, lorawan device and concentrator
@Sben65 Sben65 moved this from 💬 Ready for Review to 🚀 Ready in IoT Hub Portal Nov 2, 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
1 participant