ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.01k stars 268 forks source link

SaveDevOptions -> **EXCEPTION**TypeError: Cannot read property 'replace' of undefined caused by undefined #883

Closed mercurytoxic closed 4 years ago

mercurytoxic commented 4 years ago

Platform & OS Version

Linux red 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux

The version of zmNinja you are reporting:

Release 1.3.085 

The version and OS of ZoneMinder you are using:

1.33.16, Linux zoneminder 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux 

Device details:

Desktop

What is the nature of your issue

Bug

Details

When I try to save developer options an exception occurs.

zmNinja Debug Logs

Jan 10, 2020 10:29:37 AM DEBUG **EXCEPTION**TypeError: Cannot read property 'replace' of undefined caused by undefined
Jan 10, 2020 10:29:37 AM DEBUG SaveDevOptions: called
Jan 10, 2020 10:29:33 AM DEBUG **EXCEPTION**TypeError: Cannot read property 'replace' of undefined caused by undefined
Jan 10, 2020 10:29:33 AM DEBUG SaveDevOptions: called
Jan 10, 2020 10:29:30 AM DEBUG Multiport report:false
Jan 10, 2020 10:29:30 AM INFO sending stored ZM_MIN_STREAMING_PORT 0

Thanks!

welcome[bot] commented 4 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond.

mercurytoxic commented 4 years ago

Same problem happened with zmNinja Version 1.3.086 desktop built from source.

Jan 10, 2020 03:34:43 PM DEBUG **EXCEPTION**TypeError: Cannot read property 'replace' of undefined caused by undefined
Jan 10, 2020 03:34:43 PM DEBUG SaveDevOptions: called
Jan 10, 2020 03:34:38 PM DEBUG **EXCEPTION**TypeError: Cannot read property 'replace' of undefined caused by undefined
Jan 10, 2020 03:34:38 PM DEBUG SaveDevOptions: called
pliablepixels commented 4 years ago

try now

mercurytoxic commented 4 years ago

Works! Good job.

Jan 10, 2020 04:05:28 PM DEBUG SaveDevOptions: Saving to disk
Jan 10, 2020 04:05:28 PM DEBUG SaveDevOptions: called

Screenshot from 2020-01-10 16-05-21