MantisBT - vera
View Issue Details
0005014vera[All Projects] Issuespublic2016-07-26 05:422016-07-26 06:12
hyzteric 
 
normalminorsometimes
newopen 
0005014: The 'Test Luup code' sent gets mixed up with old code
I'm debugging some stuff and I see that the code I paste in the textarea of the page "Test Luup code (Lua)" is not exactly what is sent to the vera.
If I go to /cgi-bin/cmh/log.sh?Device=LuaUPnP, I sometimes see my code all in red with errors. But when I check the code, it seems that it is mixed up with a previous (not necessarily the last one) code I tried!
Go to "Test Luup code (Lua)"
Enter some code and click go
Open the log view "/cgi-bin/cmh/log.sh?Device=LuaUPnP"
Check the code that was executed
Enter some OTHER code and click go
Check the code that was executed in the log view
Continue until you see a JobHandler_LuaUPnP::RunLua failed, then your code is probably mixed up with old code.
See screenshot
No tags attached.
png testLuupCodeBug.png (66,927) 2016-07-26 05:42
http://micasaverde.com/file_download.php?file_id=2386&type=bug
png
Issue History
2016-07-26 05:42hyztericNew Issue
2016-07-26 05:42hyztericFile Added: testLuupCodeBug.png
2016-07-26 06:12hyztericNote Added: 0005931
2016-12-03 06:42ddavis824Issue cloned: 0005016

Notes
(0005931)
hyzteric   
2016-07-26 06:12   
I found out that if I add a large amount of blank (spaces or line returns) at the end of my code, then I can make it work, the blanks overwrite the old mixed up stuff!