{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/5620","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/5620/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/5620/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/5620/events","html_url":"https://github.com/eclipse/smarthome/issues/5620","id":326092582,"number":5620,"title":"Unit support broke lambdas in Rules/Scripts","user":{"login":"sjka","id":2592443,"avatar_url":"https://avatars1.githubusercontent.com/u/2592443?v=4","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"labels":[{"id":294421315,"url":"https://api.github.com/repos/eclipse/smarthome/labels/DSL","name":"DSL","color":"c7def8","default":false},{"id":414291732,"url":"https://api.github.com/repos/eclipse/smarthome/labels/DSLRules","name":"DSLRules","color":"bfdadc","default":false},{"id":74198568,"url":"https://api.github.com/repos/eclipse/smarthome/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T12:10:46Z","updated_at":"2018-05-24T13:40:58Z","closed_at":"2018-05-24T13:40:58Z","author_association":"CONTRIBUTOR","body":"As mentioned [here](https://community.openhab.org/t/openhab-2-3-release-candidate-available/45318/29, closures don't work properly anymore. \r\n\r\nThe reason is that the terminal rule which was introduced in #4818 had precedence over any other rule and thereby accidentally also \"grabbed\" the closures.  The `XClosure` also uses the same square-bracket syntax but not on terminal level.\r\n\r\nHaving looked into this, I don't see a way of fixing it unambiguously. The decision to use square brackets also in the context of quantities simply does not work. \r\n\r\n"}}
{"actor":{"display_login":"kaikreuzer"}}