-
-
Notifications
You must be signed in to change notification settings - Fork 359
Open
Description
Given
Conditions that lead me to bug:
- Have multiple bank accounts
- Have account A that has a transaction denoting a transfer of money from Account A to Account B
- Have imported the transactions all to account A
- Have multiple uncategorized transactions
Steps:
- From the side menu select banking -> rules
-
Select "+ New Bank Rule"
-
Create a bank rule where text is matching against "Payee" field. (see screenshot)
- Press Save
An error occurs
The following is the request body response 422 from the browser's console logs.
[Error] U
code: "ERR_BAD_REQUEST"
config: {transitional: {silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false}, adapter: ["xhr", "http", "fetch"], transformRequest: Array, transformResponse: Array, timeout: 0, …}
message: "Request failed with status code 422"
name: "AxiosError"
request: XMLHttpRequest
listeners: {loadend: Array, abort: Array, error: Array, timeout: Array}
onabort: function()
onerror: function()
onload: null
onloadend: function()
onloadstart: null
onprogress: null
onreadystatechange: null
ontimeout: function()
readyState: 4
response: "{\"status_code\":422,\"error\":\"Unprocessable Entity\",\"message\":\"Unprocessabl…"
responseText: "{\"status_code\":422,\"error\":\"Unprocessable Entity\",\"message\":\"Unprocessabl…"
responseType: ""
responseURL: "http://mac-studio.home.localnet/api//banking/rules"
responseXML: null
status: 422
statusText: "Unprocessable Entity"
timeout: 0
upload: XMLHttpRequestUpload {onloadstart: null, onprogress: null, onabort: null, onerror: null, onload: null, …}
withCredentials: false
XMLHttpRequest Prototype
response: {data: Object, status: 422, statusText: "Unprocessable Entity", headers: Se, config: Object, …}
stack: "Me@http://mac-studio.home.localnet/static/js/main.bcc8a165.js:602:188810…"
U Prototype
(anonymous function) (main.bcc8a165.js:602:1494744)
Expectation
As a user, I expect to be able to create a new banking rule that allows matching other fields besides Description.
Outcome
As a user currently, I'm only able to create bank rules that match Description only.
Metadata
Metadata
Assignees
Labels
No labels