sky201503 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

Rules - 'or'-link in 'when'-condition does not work as expected #412

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Build a Rule with two update-Trigger:

rule Gate
when
    Item foo received update or
    Item bar received update 
then
[...]
end

What is the expected output? What do you see instead?

The Rule should be executed if foo or bar is updated, but the Rule isn't 
executed at all. (if there is only foo or only bar without 'or', the Rule is 
triggered as expected)

What version of the product are you using? On what operating system?

openHAB 1.3.0-#458 and openHAB 1.3.0-#459; 
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 (Xen4.1.4-VM) with 
openjdk-7-jre 7u25-2.3.10-1

Original issue reported on code.google.com by udo1t...@gmail.com on 19 Aug 2013 at 7:51

GoogleCodeExporter commented 8 years ago
Please test with Oracle's JRE again to isolate JRE problems

Original comment by honkton...@gmail.com on 20 Aug 2013 at 5:58

GoogleCodeExporter commented 8 years ago
That seems to solve the problem! Meantime I switched also to #460.

Original comment by udo1t...@gmail.com on 20 Aug 2013 at 6:35

GoogleCodeExporter commented 8 years ago
Really? Wow, that's weird...
Ok, but I will leave the issue open nonetheless as we would have to find out 
why openjdk behaves differently here.

Original comment by kai.openhab on 21 Aug 2013 at 9:19

GoogleCodeExporter commented 8 years ago
I nonetheless close it as too low priority. There are often problems with 
OpenJDK, so our general suggestion is to use Oracle JavaSE with openHAB.

Original comment by kai.openhab on 6 Dec 2013 at 5:51