News:

10/23/16 - Welcome to the new forums!

Main Menu

Date field freezing when typing a date manually

Started by ottyacat, November 09, 2016, 01:06:18 AM

Previous topic - Next topic

ottyacat

When manually typing a date into a date field, the whole browser tab locks up for an extended period of time.

Steps to reproduce:

       
  • Open budget
  • Click on account
  • Click add new transaction
  • Start typing 15/01/2016, I can only get to 15/01/20 before it locks up for 10-30 seconds before becoming responsive again. It then appears to work ok until you refresh the browser or close the tab and the delay occurs again.
Tested on Chrome, Firefox, Edge on Windows on multiple computers, same on all.

Alex

Hi @ottyacat

Can you let me know the locale you're using?

Thanks
Alex
I am the Financier owner/admin/coder dude.

ottyacat


Alex

Well, that's a fun issue. It's trying to get the category balances for a year that's XXX (like literally A.D. 123) which is causing perf issues.

I made a quick fix that will restrict dates to > 1970. :)

https://trello.com/c/SmaSo0bA/264-don-t-allow-dates-1970-to-be-valid
I am the Financier owner/admin/coder dude.

ottyacat

Quote from: Alex on November 10, 2016, 04:48:42 PM
Well, that's a fun issue. It's trying to get the category balances for a year that's XXX (like literally A.D. 123) which is causing perf issues.

I made a quick fix that will restrict dates to > 1970. :)

https://trello.com/c/SmaSo0bA/264-don-t-allow-dates-1970-to-be-valid

Oh yea, that will do it! Thanks for looking into it :)

Alex

I am the Financier owner/admin/coder dude.

ottyacat