[Bug] Allocation targets disappear after restarting the app
Description
Saved Allocation Targets disappear after restarting Wealthfolio.
This issue is reproducible on both macOS and iOS.
I can successfully create and save an Allocation Target. The target is displayed correctly and works normally during the current app session.
However, after fully quitting Wealthfolio and reopening it, the saved target is gone and the Allocation section shows:
No allocation target configured
The target must then be created again.
Steps to reproduce
- Open Wealthfolio.
- Go to Allocation Targets.
- Create a new allocation target.
- Select a taxonomy (for example, Custom Groups).
- Configure the target weights.
- Save/create the target.
- Confirm that the saved target is displayed correctly.
- Fully quit Wealthfolio.
- Reopen the application.
- Return to Allocation Targets.
Actual behavior
The previously saved Allocation Target is no longer available after restarting the application.
The page returns to:
No allocation target configured
Expected behavior
Allocation Targets and their target weights should persist across application restarts.
Platforms reproduced
- macOS
- iOS
App version
3.9.1
Target configuration tested
- Taxonomy: Custom Groups
Additional information
The target works correctly during the same application session.
The issue occurs specifically after fully restarting Wealthfolio and is reproducible on both macOS and iOS.
Since Allocation Targets are expected to be persisted in the application's database, this may indicate either:
- the target is not actually being persisted when created/saved, or
- persisted targets are not being loaded correctly after application startup.
Navigation within the application does not appear to be the same as a full restart; the issue is specifically reproducible after quitting and reopening Wealthfolio.
Source: wealthfolio/wealthfolio