[quote=“amg0, post:3, topic:186810”][quote=“amg0, post:2, topic:186810”][quote=“anhman, post:1, topic:186810”]Just encountered a bug which is that whenever one enters a polling map, and later decides to not use the polling map by leaving it blank, the “polling map” field turns into “undefined” upon exit and refresh of the page and the app stops polling iCloud altogether. I had to delete and reinstall the device from the app page to make it work again.
The other bug I posted elsewhere is also the the iCloud password does not get recognized if one uses a strong password which includes non alphabetical characters. iCloud accepts them, just not the app.[/quote]
The second one, I know but I never found a way to make it work, seems the web services and the non alpha characters either in Phone name or user name / pwd are not working together , however I try to escape the characters…[/quote]
Bug REPRODUCED ! very stange. in fact this is a vera bug I suppose, I have confirmed that the plugin is calling the HTTP VERA API to set the variable “PollingMap” to “” as expected. The only strange thing the plugin does is to call this twice almost simultaneously and this is what I ll try to fix, but the end-result which is really a VERA bug is that it actually deletes the “PollingMap” Variable from the plugin. You can see that when you have the “undefined” showing up in the polling map and you try to go to the advanced Variable screen of UI7 you will not find the “PollingMap” variable anymore. That is absolutely not expected behavior as there is in fact no documented API to remove a variable from a plugin in any cases
to restore it, you do not have to uninstall/reinstall the pluging, I have confirmed that a single reload of the Luup engine is enough, just let it the time to reload then refresh the browser cache , and the “PollingMap” is there; the pluging code, at initialization time garantees that a missing variable is recreated with a default value so this what happens and after the restart you are back in business.
I will anyhow try to find a fix for this[/quote]
Worse, I can now reproduce the issue just using UI7 , no javascript setting tab, not special code. Just following these steps (pdf attached ).
a LUA reload fixes the problem but still this is very cumbersome and I have not found a workaround yet. even a single space is not enough to prevent the variable from being removed.