hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Trigger "System started" does not work with multiple rules files #308

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Multiple rules files, in more than one a rule with the trigger "System started"
Modify one rules files 

What is the expected output? What do you see instead?
expected: all rules with trigger are executed
observed: only rules in the modified file are executed

What version of the product are you using? On what operating system?
openhab 1.2, linux

Original issue reported on code.google.com by tomtr...@gmail.com on 20 May 2013 at 7:50

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 22 May 2013 at 8:31

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 13 Aug 2013 at 4:12

GoogleCodeExporter commented 8 years ago
This is actually expected behavior. When a rule file is edited and thus 
reloaded, its (new) content is considered to be new and so rules that are 
supposed to be run once in the beginning only are executed.
Startup rules of all other (unchanged) rule files were already executed and 
hence are not executed again.

Original comment by kai.openhab on 6 Sep 2013 at 12:55