envelope
envelope copied to clipboard
Problem adding a second account
Second account is added to the database, but not to the source list after added the app crashes
[DEBUG 16:31:28.855111] Sidebar.vala:912: row activated
[INFO 16:31:28.870783] [Gtk] GtkDialog mapped without a transient parent. This is discouraged.
[DEBUG 16:31:45.898611] Database.vala:964: executing query: INSERT INTO `accounts` (`number`, `description`, `balance`, `type`) VALUES ('Caixa', 'Federal', 50.0, 0);
**
ERROR:treemap.c:7246:gee_tree_map_value_collection_real_add: code should not be reached
Aborted (core dumped)
After deleting the database and restarting the app the problem seems not to occur anymore.
Steps to reproduce
- Start app for the first time
- Create an account
- Create another account
- Record a transaction in any account
- Restart the app
- Create an account -- App Crashes
The problem is in the account's caching. Disabling it for now.