Blockly event doesn't save

Moderator: leecollings

Post Reply
WildeFA
Posts: 4
Joined: Monday 07 December 2015 9:42
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.9700
Contact:

Blockly event doesn't save

Post by WildeFA »

I've made a blockly event which will not save. I don't get an "event saved" acknowledge and the browser doesn't respond for 10 seconds.
I've tried IE, Firefox and Chrome with a local connection. I'm using v2.3530. If I replace the 2 "level =" statements with 2 "on" statements then it saves normal.
What is wrong? What can be done?
Attachments
Blockly event will not save.
Blockly event will not save.
7-12-2015 9-51-43.jpg (72.4 KiB) Viewed 1752 times
WildeFA
Posts: 4
Joined: Monday 07 December 2015 9:42
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.9700
Contact:

Blockly event doesn't save. Bug in ïf then else" control

Post by WildeFA »

I've found a workaround. I've split the event into 2 events. Instead of the "if then else" in one event, i've made two "if" events. It works perfect.
Attachments
10-12-2015 10-48-24 deel 2.jpg
10-12-2015 10-48-24 deel 2.jpg (35.75 KiB) Viewed 1721 times
10-12-2015 10-47-38 deel 1.jpg
10-12-2015 10-47-38 deel 1.jpg (35.85 KiB) Viewed 1721 times
Microler
Posts: 3
Joined: Wednesday 02 November 2016 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly event doesn't save

Post by Microler »

I have exactly the same with latest stable release (v3.5837). A bug that survived several stable versions. Will try the workaround.
Microler
Posts: 3
Joined: Wednesday 02 November 2016 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly event doesn't save

Post by Microler »

I found out that adding an "else if" in combo with logic "=" or logic "set" is a bad combination to save the event.

Starting a new event drag "if Do Else If" to build field and add new "else if" blocks. Save event will work, no problem.
When adding a logic "=" to first If. Event will not save. Remove logic "=" to bin. Save event will work.
Adding a logic "set" to first if. Event will not save. Remove logic "set" to bin. Save event will work.

Adding a logic "and" to first if. Event will save with no problem.
Adding other logic, time or user variables and the event will save. When adding a logic "set" or "=" and it's over, the event stops from saving!
You don't get an "event saved" acknowledge anymore.

I hope this is usefull info for the developers to fix this nasty bug.
Microler
Posts: 3
Joined: Wednesday 02 November 2016 16:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly event doesn't save

Post by Microler »

Tested with new stable release (v3.5877). But still a no go. You don't get an "event saved" acknowledge anymore.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest