Hi
First of all, huge thanks for making this app! I've purchased it on Android and also use it on my PC. Best front end for ZM.
Today, I've configured the event server and shortly discovered two separate issues (or maybe one). Would appreciate if you can confirm this is a bug but it seems so for me.
Issue 1
The notifications are working, however, I get notifications for all monitors after making any additional setting change and saving.
Let's say we have monitors with IDs: 1,2,3,4
Steps to reproduce issue 1:
- select monitor 1 and 3 and enable event server in zmNinja
- logs on zoneminder reflect that monitor 1 and 3 are enabled
- go back to settings and select monitor 2, save
- logs on server indicate monitors 1, 2 and 3 enabled, then another set of repetitive events indicated monitors 1,2,3 and 4 enabled.
- in order to enable monitor 1 and 3, I have to disable the event server in the configuration and enable it again.
Issue 2
After saving event server settings (changing monitors to get push notifications for), configuration gets sent to the server. After closing the app and reopening, the selected monitor isn't shown as selected. This can be avoided by clicking save on events server page followed by clicking save on the server settings page.
Steps to reproduce issue 2:
- go to event server config page, toggle an existing monitor then click save.
- close the app from task manager and reopen it, go back to the settings
- event server settings do not reflect the changed setting even though at this time, the server would have the new config as that gets sent after clicking save
Here is an extract from the log in the production system
Target monlist = 5,3,8
Achieved monlist in /etc/private/tokens.txt: 5,3,1,2,4,6,9,8
2017-03-20 22:02:25.563670 zmeventnotification 22522 INF Pushproxy registration success zmeventnotification.pl
2017-03-20 22:02:25.345620 zmeventnotification 22522 INF overwriting (token) monlist with:5,3,1,2,4,6,9,8 zmeventnotification.pl
2017-03-20 22:02:25.345290 zmeventnotification 22522 INF token (token) matched, previously stored monlist is: 5,3,8 zmeventnotification.pl
2017-03-20 22:02:25.344580 zmeventnotification 22522 INF SaveTokens called with:monlist=5,3,1,2,4,6,9,8, intlist=0,0,0,0,0,0,0,0, platform=android, push=enabled zmeventnotification.pl
2017-03-20 22:02:25.343450 zmeventnotification 22522 INF Storing token ...ZEt9ohpPYN,monlist:5,3,1,2,4,6,9,8,intlist:0,0,0,0,0,0,0,0,pushstate:enabled zmeventnotification.pl
2017-03-20 22:02:25.339050 zmeventnotification 22522 INF Pushproxy registration success zmeventnotification.pl
2017-03-20 22:02:25.134830 zmeventnotification 22522 INF overwriting (token) monlist with:5,3,8 zmeventnotification.pl
2017-03-20 22:02:25.134420 zmeventnotification 22522 INF token (token) matched, previously stored monlist is: 5,3,8 zmeventnotification.pl
2017-03-20 22:02:25.133860 zmeventnotification 22522 INF SaveTokens called with:monlist=-1, intlist=-1, platform=android, push=enabled zmeventnotification.pl
2017-03-20 22:02:25.132970 zmeventnotification 22522 INF Storing token ...ZEt9ohpPYN,monlist:-1,intlist:-1,pushstate:enabled zmeventnotification.pl
2017-03-20 22:02:25.122930 zmeventnotification 22522 INF Pushproxy registration success zmeventnotification.pl
2017-03-20 22:02:24.903480 zmeventnotification 22522 INF overwriting (token) monlist with:5,3,8 zmeventnotification.pl
2017-03-20 22:02:24.903160 zmeventnotification 22522 INF token (token) matched, previously stored monlist is: 5,3,1,2,4,6,9,8 zmeventnotification.pl
2017-03-20 22:02:24.902660 zmeventnotification 22522 INF SaveTokens called with:monlist=5,3,8, intlist=5,0,0, platform=android, push=enabled zmeventnotification.pl
2017-03-20 22:02:24.901790 zmeventnotification 22522 INF Contrl: Storing token ...ZEt9ohpPYN,monlist:5,3,8,intlist:5,0,0,pushstate:enabled
Can you please try to reproduce this?
Any more details needed? I'm here to feedback :)
Platform: Android 6.0 Marshmallow
Nature: Bug
Thanks!
Matt
Hi
First of all, huge thanks for making this app! I've purchased it on Android and also use it on my PC. Best front end for ZM.
Today, I've configured the event server and shortly discovered two separate issues (or maybe one). Would appreciate if you can confirm this is a bug but it seems so for me.
Issue 1
The notifications are working, however, I get notifications for all monitors after making any additional setting change and saving.
Let's say we have monitors with IDs: 1,2,3,4
Steps to reproduce issue 1:
Issue 2
After saving event server settings (changing monitors to get push notifications for), configuration gets sent to the server. After closing the app and reopening, the selected monitor isn't shown as selected. This can be avoided by clicking save on events server page followed by clicking save on the server settings page.
Steps to reproduce issue 2:
Here is an extract from the log in the production system
Target monlist = 5,3,8
Achieved monlist in /etc/private/tokens.txt: 5,3,1,2,4,6,9,8
Can you please try to reproduce this?
Any more details needed? I'm here to feedback :)
Platform: Android 6.0 Marshmallow
Nature: Bug
Thanks!
Matt