openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

Rules have misleading error-messages, if e.g. operator is missing

Open binderth opened this issue 4 years ago • 3 comments
trafficstars

As described here: https://community.openhab.org/t/oh3-rule-condition-module-is-not-well-configured/115150 I ran into a problem, while I forgot to set the "operator" in the rules-UI. So the rule wasn't fired and the logs showed:

2021-01-23 12:48:00.580 [ERROR] [le.handler.ItemStateConditionHandler] - Module is not well configured: itemName=Comfoair_Automatic  operator=null  state = ON

Perhaps the wording can be changed to something more speaking like "Condition of rule is not well configured: ..."? I couldn't make out, what I did wrong at first, unless I repeatedly opened the condition in the GUI and there I saw the missing operator.

binderth avatar Jan 23 '21 11:01 binderth

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/oh3-rule-condition-module-is-not-well-configured/115150/2

openhab-bot avatar Jan 23 '21 11:01 openhab-bot

I do not understand the difference between the message above and the message you suggest. operator=null seems to be quite clear to me.

J-N-K avatar May 07 '22 10:05 J-N-K

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 06 '22 10:07 stale[bot]