Closed LeDistordu closed 6 years ago
Hello, which sysPass version are you running?. What did you mean by "empty"?
Regards
2.1.15
At first I thought that a category could not be erased because it contained something. Currently I am trying to delete a category that contains no password.
It could be so because the category is in use by the accounts' history. I know that this could be a hassle, but items data need to be consistent so they need to keep the relations over the time, so in this way you can fully recover the item's data whenever you need.
Regards
Account history ? How do I concretely remove a category that has this problem ?
Thank you for your help
Unfortunately there is no "easy" way to do it, since the UI does not show the categories used by an account's history record.
The hard way is by issuing an SQL command on the DB:
delete from accHistory where acchistory_categoryId = (SELECT category_id FROM categories WHERE category_name = "SET_CATEGORY_NAME")
It will be improved in next version.
Please, always perform a backup before working on the database
Hello,
Can't delete empty category i have error :
"Error while deleting the category"