You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the current development Docker build (the 19023fc8_1521979679 tag), there's a bug with the OFXTransaction is_ fields introduced in #183. The fields update properly when editing an Account via the modal, but not when new OFXTransactions are inserted.
2018-04-13 21:16:06,156 [ERROR db_event_handlers.py:186 - biweeklybudget.db_event_handlers.handle_ofx_transaction_new_or_change() ] Error setting OFXTransaction is_ fields
Traceback (most recent call last):
File "/app/lib/python3.6/site-packages/biweeklybudget/db_event_handlers.py", line 183, in handle_ofx_transaction_new_or_change
obj.update_is_fields()
File "/app/lib/python3.6/site-packages/biweeklybudget/models/ofx_transaction.py", line 267, in update_is_fields
r_str = getattr(acct, acct_attr)
AttributeError: 'NoneType' object has no attribute 're_interest_charge'
Using the current development Docker build (the
19023fc8_1521979679
tag), there's a bug with the OFXTransactionis_
fields introduced in #183. The fields update properly when editing an Account via the modal, but not when new OFXTransactions are inserted.The bug seems to be where the
handle_ofx_transaction_new_or_change()
before_flush DB even handler callsOFXTransaction.update_is_fields()
. It appears that when that is called, theself.account
relationship is not loaded and is returning None.OFXTransaction insert via ofxgetter
Editing an Account
The text was updated successfully, but these errors were encountered: