Holiday schedules only update with mouse clicks, in Firefox

Status
Not open for further replies.

SteveITS

3CX MVP
Silver Partner
Advanced Certified
Joined
Jun 20, 2018
Messages
4,424
Reaction score
2,153
I am updating vacation schedules across clients, all on 18u2, and ran into a bit of a bug. I am not sure if I can describe it well enough but I will try. It's happening on all of them, in Firefox, but it seems to be working OK in Chrome, in limited testing.
  • click any existing holiday to edit
  • click the day dropdown to open the dropdown
  • press the up arrow key to change the day number (many in 2022 are one day prior to 2021)
  • click the day dropdown to close (do not click a number, click the down arrow)
  • press OK to save
Note the date is not changed, and no error is shown. I was also changing the year the same way with the down arrow key but can reliably reproduce this changing only the day.

It gets better, if you change the day and click the OK button while the dropdown is open, it saves correctly. Also if you pick a number with the mouse, it saves correctly. Have not had either of those fail to update. Also in testing this numerous times while writing this post, it sometimes gets into a state where "it works" but only after I get it to "not work" via the above. Not quite sure what I'm doing to get it to work. Just now I've had it alternate, even, which implies it may be inconsistent in some condition?

I realized all this because I changed a bunch of holidays at a client, and afterwards realized they were all still the 2021 year and day.

The short answer is I'm sure "use Chrome" but it seems like it should be a fixable bug, and may be quietly somewhere else in the interface, though I haven't noticed anything in all my time before now. Don't recall exactly how I did the updates last year for example.
 
Hi @SteveITS,

I've tried to reproduce this but couldn't. If you make a completely new holiday - does the same thing happen on Firefox? I created one, clicked it to edit, used the drop down and arrow keys and it saved the new day just fine.

My holidays were set to "Every Year". If you set the holiday to Every Year, does the same thing happen?
 
I just tried both 2022 and Every Year again. It took about 10 tries to fail, just enough to make me think I was crazy, and then was inconsistent but both had the issue. Not sure why/how it is inconsistent. Actually, in clicking some more it seems like it happens when I do it fast? clickupclick vs click, up arrow, click. A tenth or two of a second seems to make a difference. Think: I have a few hundred of these to do across all servers. :) If it works a bit slower that's fine as long as I review them before clicking OK on the timezone page but is odd. It looks like it's not a <form> tag so perhaps Javascript or whatever is running needs just a bit of time to record the change?

Yes it happens on a new holiday entry.

I have a bit of a knack for repetitive keystrokes...useful for editing lists of something. Perhaps I'm just too fast for the Internet to handle...
 
Hi @SteveITS,
Actually, in clicking some more it seems like it happens when I do it fast? clickupclick vs click, up arrow, click.
So if you slow it down it works fine?

You must be going pretty darn fast, I mean I've played a few FPS games in my day and I can't clickupclick fast enough to break it, which leads me to believe it isn't as much about the speed (or my ego is about to take a bruising). :D
 
  • Like
Reactions: Evolute IT
I guess I'm "special" then. Yes if I slow down a bit it seems to be OK. I guess it's just me then. I was doing several...the first seemed OK as I verified all the new dates, then by the second I realized it hadn't changed any of the entries after I was done editing them. I'll go a bit slower!
 
Indeed! Thanks for bringing it up though, if you run into the same problem while working at "human speed", do let me know ;)
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,083
Members
164,901
Latest member
Silent_Guru