-
Notifications
You must be signed in to change notification settings - Fork 279
Re-adding deleted application returns error #573
Comments
Application are actually not deleted. When you 'delete' they are hidden and not accessible anymore. For the moment I would suggest you stick with the App you have and only remove/add devices inside. |
|
Please follow the issue template when creating issues. That really helps us when we address them. |
This is actually a very subtle issue and resolving it should be done with great care. Going at it I came up with a couple of not-so-trivial questions:
|
Let's not make it too complicated by introducing an undelete feature. That is asking for trouble as you illustrated. Also constraining only old collaborators with the I think there are two options:
|
Let's just call it "Archive" instead of delete and be done with it. We can add "Restore" if requested. |
Today one of our users encountered an issue that requires @johanstokking's proposal number 1: archive/unarchive. 2 is not feasible, as in a decentralized/distributed network we can't guarantee that the deletion of an application is executed everywhere where the application was active. |
The issue I observed is that when deleting an application with ttnctl, the devices remained active. There is now no way to delete those devices using ttnctl, without first selecting the now deleted application - which can't be done. Proposed option 1 above would allow the application to be unarchived and the devices deleted. Another alternative might be for |
Yes, these are two separate things. We will take unarchiving into account for the next version of the account server. When an application is deleted, it should be unregistered from the handler, which invokes deleting devices. |
I want to delete an application it says it doesn't exist anymore and when i want to add it with the same AppID it says that this app exist :
The text was updated successfully, but these errors were encountered: