-
Notifications
You must be signed in to change notification settings - Fork 193
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
Moving sub-categories deletes them #2187
Comments
Hi @golesny , I made some test and categorey is not missing, but the issue is that the list is not refreshed. can you confirm that alter reopen app you see the subcat correct moved into new cat? as work arround after move a simple search (click search button), enter any letter, and click close search button will refresh list. |
First, I didn't see the wrong behavior. |
I could reproduce the deletion of moved sub-category.
T1 ist gone |
This is the database When I select a new parent the category above is used. I could reproduce it a second time |
got it. fixed: 9f1cdb4 thanks.. ps. unfortunately this caused category missing from list in inconsitent state. If you need to recovery your db you, for now need to manually run this SQL statement directly on db with any sqllite editor
this script make them as inactive and attach to root, so you can easely check if there is any transaction and/or edit them. |
@golesny we fix also DB during next dB upgrade (desktop 1.9.0) so missing category will become visible and inactive. You will manually delete or reactivate if they have transaction. |
Description
I have translated all categories and deleted some of them. I just had 3 test transactions and 2 accounts (cash+bank).
Then I have moved the sub-categories to another parent but this leads to
1.) the parent was moved to another sub-categories (means I have 4 elements/sub-cats)
2.) after trying to fix these wrongly moved main categories, some sub-categories were not available anymore
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The sub-category is moved to the new parent
Device Information:
The text was updated successfully, but these errors were encountered: