1.22.2 - State issues (again!)
Posted: Fri Jun 02, 2006 2:23 pm
I had problem with the state fields in 1.22.0 - which was fixed in 1.22.1 - but now I've upgraded to 1.22.2 I'm encountering similar behavior, but not quite the same. Before, the "enabled" state wasn't being saved in the sql database.
But this time, I've checked the database and my "Night" state is:
1:Modect:1,2:Modect:1,8:Modect:1,9:Modect:1,10:Modect:1,11:Modect:1,13:Record:1,14:Record:1,15:Record:1,16:Record:1,17:Record:1,18:Record:1,19:Record:1,20:None:0,22:Modect:1,23:Modect:1,24:None:0,25:Record:1,26:Record:1
Which looks ok to me (I know two are set to None). However, when I use
zmpkg.pl night
To switch to Night recording mode, only the first 10 entries are enabled. All cameras are switched to their correct operation, but any camera from 11 onwards (in my list) is italicised and has the Enabled button unticked.
I can then manually re-enable each camera and it works fine, but that's not automatic...
BTW, when saving a state - I guess I'm using the correct method. Click "Running" at the top, select the state I want to save as, then click Save?
Is there any outstanding issues with this bit of the code still? Am I only discovering it because of the relatively large number of cameras I have linked?
But this time, I've checked the database and my "Night" state is:
1:Modect:1,2:Modect:1,8:Modect:1,9:Modect:1,10:Modect:1,11:Modect:1,13:Record:1,14:Record:1,15:Record:1,16:Record:1,17:Record:1,18:Record:1,19:Record:1,20:None:0,22:Modect:1,23:Modect:1,24:None:0,25:Record:1,26:Record:1
Which looks ok to me (I know two are set to None). However, when I use
zmpkg.pl night
To switch to Night recording mode, only the first 10 entries are enabled. All cameras are switched to their correct operation, but any camera from 11 onwards (in my list) is italicised and has the Enabled button unticked.
I can then manually re-enable each camera and it works fine, but that's not automatic...
BTW, when saving a state - I guess I'm using the correct method. Click "Running" at the top, select the state I want to save as, then click Save?
Is there any outstanding issues with this bit of the code still? Am I only discovering it because of the relatively large number of cameras I have linked?