Input error catching on starting balance for new account
Closed this issue · 3 comments
Expected Behavior
Create new account, if anything other than numeric digits and decimals should be rejected.
Current Behavior
Accepts input with $, comma, and spaces, but dialogue box does not close, account is not created. This only happened on the very first account I created. Trying to replicate after I had successfully created on account, it would close the dialog and create an account using the latest valid starting balance I used on a previous balance, or it would close and not create an account at all.
Steps to Reproduce
- New docker install.
- Create account.
- Enter value with $, comma or space: "$30023.23" or "4,000.00" or "300 "
- Observe failure
Environment
OS: Unraid
CPU architecture: x86_64
How docker service was installed: Via UnRAID GUI
Command used to create docker container (run/create/compose/screenshot)
Not sure how to extract the command run by Unraid, sorry.Docker logs
_ ()
| | ___ _ __
| | / | | | /
| | _ \ | | | () |
|| |/ || __/
Brought to you by linuxserver.io
To support LSIO projects visit:
https://www.linuxserver.io/donate/
GID/UID
User uid: 99
User gid: 100
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
New container detected. Setting up app folder and fixing permissions.
query: SELECT * FROM "sqlite_master" WHERE "type" = 'table' AND "name" = 'migrations'
query: SELECT * FROM "migrations" "migrations" ORDER BY "id" DESC
No migrations are pending
[cont-init.d] 40-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
glob error [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs'
}
BudgE@0.0.8 start
node build/src/server.js
!!!WARNING!!! Running in development mode!
Server listening on: http://0.0.0.0:5000
Error: You must be logged in to do that
at /app/budge/backend/build/src/middleware/authentication.js:41:23
at Generator.next ()
at /app/budge/backend/build/src/middleware/authentication.js:8:71
at new Promise ()
at __awaiter (/app/budge/backend/build/src/middleware/authentication.js:4:12)
at expressAuthentication (/app/budge/backend/build/src/middleware/authentication.js:22:12)
at /app/budge/backend/build/routes.js:1245:97
at Generator.next ()
at /app/budge/backend/build/routes.js:8:71
at new Promise () {
status: 401
}
creating budget month 2022-05-01
creating budget month 2022-06-01
creating budget month 2022-07-01
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity