Error: no viable alternative at input 'equals' after upgrade from 3.3.0.M3 to 3.3.0.M6

Hi guys,
recently I’ve upgraded to 3.3.0.M6 from M3 and I started to get this error:
no viable alternative at input 'equals’

I have it in two places in my rules and it’s always with the equals method called on a state of an item.
For example the item is partition2State and the code is the following
if (!partition2State.state.equals("Armed"))

I’ve checked the changes in github release notes but couldn’t figure any related change myself. Could you give me some hints what could cause this?


Already fixed: Fix DateTime trigger syntax to not break the equals function in the execution script by kaikreuzer · Pull Request #2996 · openhab/openhab-core · GitHub

1 Like