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
Dealing with changes to reconciled transactions using the API is a bit unexpected.
When editing a reconciled transaction via PUT api/v1/transactions/1234, as soon as the request has any "protected" field the API call will fail with an error that the transaction is reconciled. This is true even when reconciled: false is submitted in the request, or if the "protected" field value is not changed.
Debug information
Demo Page
Expected behaviour
When the request contains reconciled: false, it should un-reconcile the transaction and then proceed any changes made in the same request. Currently, a reocnciled: false request is needed, followed by a separate request to actually update any fields.
Even for reconciled transactions, if the request contains "restricted" fields such as amount, but that field is not changed compared to the stored value, the request should not fail but proceed to update any other fields if applicable.
Steps to reproduce
No response
Additional info
Looking at the web page, all fields seem to be filtered out of the update request when the transaction is reconciled to not fail according to the second point above. If this is the way you intend it to be, then consider this request only for the first point above (as this is quite annoying), and I'll implement something similar like the web page in the app!
The text was updated successfully, but these errors were encountered:
This issue has been marked as being in triage. The root cause is not known yet, or the issue needs more investigation. You can help by sharing debug information (from /debug) if you also have this issue or when you haven't already done so.
Support guidelines
I've found a bug and checked that ...
Description
Dealing with changes to reconciled transactions using the API is a bit unexpected.
When editing a reconciled transaction via
PUT api/v1/transactions/1234
, as soon as the request has any "protected" field the API call will fail with an error that the transaction is reconciled. This is true even whenreconciled: false
is submitted in the request, or if the "protected" field value is not changed.Debug information
Demo Page
Expected behaviour
reconciled: false
, it should un-reconcile the transaction and then proceed any changes made in the same request. Currently, areocnciled: false
request is needed, followed by a separate request to actually update any fields.amount
, but that field is not changed compared to the stored value, the request should not fail but proceed to update any other fields if applicable.Steps to reproduce
No response
Additional info
Looking at the web page, all fields seem to be filtered out of the update request when the transaction is reconciled to not fail according to the second point above. If this is the way you intend it to be, then consider this request only for the first point above (as this is quite annoying), and I'll implement something similar like the web page in the app!
The text was updated successfully, but these errors were encountered: