envelope icon indicating copy to clipboard operation
envelope copied to clipboard

Problem adding a second account

Open cjfloss opened this issue 7 years ago • 3 comments

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)

cjfloss avatar Jan 18 '18 20:01 cjfloss

After deleting the database and restarting the app the problem seems not to occur anymore.

cjfloss avatar Jan 18 '18 20:01 cjfloss

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

cjfloss avatar Jan 18 '18 21:01 cjfloss

The problem is in the account's caching. Disabling it for now.

cjfloss avatar Feb 09 '18 05:02 cjfloss