Page 1 of 1
No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Thu Nov 10, 2022 10:03 pm
by MarsRover
Hi all.
Event list checkboxes disappeared after upgrading from 1.37.27~20221103182923-focal to 1.37.27~20221106074651-focal
Before:

- 20221103182923.png (29.31 KiB) Viewed 3779 times
After:

- 20221106074651.png (24.08 KiB) Viewed 3779 times
Not a big deal, but now there's no convenient way to delete events from UI.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Thu Nov 10, 2022 10:39 pm
by iconnor
Thus far I am unable to reproduce this. Also unable to comprehend why it would happen. We don't seem to do anything WRT permissions in terms of whether that is visible.
I assume this is true across all monitors and also for the admin user?
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 11, 2022 12:01 pm
by MarsRover
Sure. All monitors, filter results etc.
It happened right after upgrade and no users are defined, no_auth is also on.
I downgraded to 20221103182923-focal but the problem persists. Maybe it's somewhere in config, please advise.
I have both versions installed on separate machines, and the "eventTable" is the same on the one with checkboxes and the one without, except:
Code: Select all
<th class="bs-checkbox " style="width: 36px; " data-field="toggleCheck"><div class="th-inner "><label><input name="btSelectAll" type="checkbox"><span></span></label></div><div class="fht-cell"></div></th>
is missing
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 11, 2022 2:00 pm
by MarsRover
This is really weird
1. I see checkboxes in Chrome opened in VNC session on ZM machine (Ubuntu)
2. I see no checkboxes using Chrome or Firefox on Windows machine.
3. I do see them using Edge on the same Windows machine. I also see them using "Private" and "Incognito" modes in Firefox and Chrome on that Windows machine.
So I ended up clearing all cookies for ZM url in Chrome and got my checkboxes back in Chome, untill I reopened it in Firefox, that broke checkboxes again in both browsers.
I cleared all cookies for ZM url in Firefox AND Chrome, and it was OK, all checkboxes are in place first time I open some event list.
BUT: (This I can reproduce on any machine (Windows, Ubuntu))
Until I refresh the page or change filter conditions. Simple F5 and no checkboxes again. Same behavior in both Chrome & Firefox. I think it's some cookie that's messing up. OK, I add ZM host to exceptions to block cookies from it. And all event tables stop to show at all. Great.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 11, 2022 2:09 pm
by iconnor
Yeah cookie are required. The javascript library that we use to generate the events list keeps it's state in cookies. I kinda think this is terrible.
Anyways, gives me a place to look. Stay tuned.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 11, 2022 2:33 pm
by MarsRover
Just to clarify:
It only happens with one ZM server that was updated from 20221103182923 to 20221106074651 (I'm not upgrading the rest in production without fix), and it persists for both versions even when I downgrade it back using the package zoneminder_1.37.27~20221103182923-focal_amd64.deb from
https://launchpad.net/~iconnor/+archive ... d/24596029.
I guess some libraries are not downgraded, or some settings are not reverted.
Proved to be wrong guess, see UPD below
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 11, 2022 9:06 pm
by MarsRover
UPD: was able to reproduce the bug on ZM server 1.37.27~20221103182923-focal which was never upgraded to 1.37.27~20221106074651-focal
Cleared all cookies -> reload page with F5 (checkboxes are in place) -> F5 again - no checkboxes.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Sat Nov 12, 2022 4:17 pm
by MarsRover
UPD2: Same on 1.37.25~20221026131017-focal.
Used Chrome & Firefox browsers on 4 different Systems (Win7, Win10, Ubuntu Server 20.04 & Debian 11) to reproduce.
I don't have older ZM builds installed handy to check.
Looks like this bug is older than I thought.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Fri Nov 18, 2022 6:28 pm
by MarsRover
1.37.27~20221116103319-focal
problem persists
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Tue Dec 13, 2022 9:03 pm
by MarsRover
1.37.28~20221213124234-focal
problem is still here (reproducible exactly the same way as before)
+ another one. This system is a DVR setup and continuously recording.
click on daily (hourly, doesn't matter) events for a monitor:

- no-events.png (14.04 KiB) Viewed 3181 times
clear "Start Date/Time" filter value:

- enents-are-back.png (28.34 KiB) Viewed 3181 times
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Wed Dec 14, 2022 8:38 am
by iconnor
New packages should fix the second issue.
The first one: I have seen from time to time when there is not enough width to display all columns. Try turning off some columns and see if it comes back.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Wed Dec 14, 2022 9:20 am
by MarsRover
screenshots above are made from the same browser tab. when I clear StartDateTime filter all columns fit.
1.37.28~20221213164433-focal fixed that, thanks!
I always hide Analysis columns, since in my case Analysis is done by our own Neural Networks (they receive video streams directly from cameras), ZM is only recording pass-through streams.
Filter Results table takes less space than page width, about 80% of page, so there's planty of it.
Again, to reproduce:
1. clear cookies for ZM host
2. checkboxes are back!
3. do something (e.g. hide some fields)
4. refresh table (or better the whole page via F5) - no checkboxes
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Tue Jan 03, 2023 9:48 am
by MarsRover
HNY!
1.37.28~20230102152527-focal amd64
Problem persists.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Tue Jan 03, 2023 4:56 pm
by iconnor
I think I have this fixed in todays build.
Re: No event list checkboxes after update to 1.37.27~20221106074651-focal from 20221103182923
Posted: Thu Jan 05, 2023 7:34 pm
by MarsRover
confirmed fixed in 1.37.28~20230103192033-focal, thank you!