{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/2202","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/2202/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/2202/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/2202/events","html_url":"https://github.com/eclipse/smarthome/issues/2202","id":178174164,"number":2202,"title":"OH2 new-gen rule engine only shows two conditions","user":{"login":"Sheriff-Donnerknall","id":11235992,"avatar_url":"https://avatars.githubusercontent.com/u/11235992?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheriff-Donnerknall","html_url":"https://github.com/Sheriff-Donnerknall","followers_url":"https://api.github.com/users/Sheriff-Donnerknall/followers","following_url":"https://api.github.com/users/Sheriff-Donnerknall/following{/other_user}","gists_url":"https://api.github.com/users/Sheriff-Donnerknall/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheriff-Donnerknall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheriff-Donnerknall/subscriptions","organizations_url":"https://api.github.com/users/Sheriff-Donnerknall/orgs","repos_url":"https://api.github.com/users/Sheriff-Donnerknall/repos","events_url":"https://api.github.com/users/Sheriff-Donnerknall/events{/privacy}","received_events_url":"https://api.github.com/users/Sheriff-Donnerknall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T20:39:17Z","updated_at":"2016-09-22T07:10:46Z","closed_at":null,"body":"I am using OH2 beta 4 with the new-gen rules. When I enter more than two conditions for my rule OH2 seems to save the rule fine. But when I open the rule again it only displays two conditions. I am using a temperature and solar azimuth and solar elevation. But the last one of the solar conditions I enter survives and the first that I have entered is no longer shown. No matter which one I enter first or second. The temperature condition always stays in the rule.\r\nWhen I click on the rule name to see the JSON representation of the rule it actually includes both solar conditions as shown below:\r\n\r\n```\r\n{\r\n  \"enabled\": false,\r\n  \"status\": {\r\n    \"status\": \"DISABLED\",\r\n    \"statusDetail\": \"NONE\"\r\n  },\r\n  \"triggers\": [\r\n    {\r\n      \"id\": \"trigger_1\",\r\n      \"label\": \"Temperaturänderung\",\r\n      \"description\": \"Temperatur Studio\",\r\n      \"configuration\": {\r\n        \"itemName\": \"homematic_HG_HM_TC_IT_WM_W_EU_HMCFGUSB2_NEQ0362419_2_ACTUAL_TEMPERATURE\"\r\n      },\r\n      \"type\": \"ItemStateUpdateTrigger\"\r\n    },\r\n    {\r\n      \"id\": \"trigger_5\",\r\n      \"label\": \"Timer Trigger\",\r\n      \"description\": \"This triggers a rule based on a cron expression\",\r\n      \"configuration\": {\r\n        \"cronExpression\": \"0 */2 * * * ?\"\r\n      },\r\n      \"type\": \"TimerTrigger\"\r\n    }\r\n  ],\r\n  \"conditions\": [\r\n    {\r\n      \"inputs\": {},\r\n      \"id\": \"condition_6\",\r\n      \"label\": \"SonneUeberHorizont\",\r\n      \"description\": \"Sonne ueber Horizont\",\r\n      \"configuration\": {\r\n        \"itemName\": \"astro_sun_local_position_elevation\",\r\n        \"state\": \"0.0\",\r\n        \"operator\": \">\"\r\n      },\r\n      \"type\": \"ItemStateCondition\"\r\n    },\r\n    {\r\n      \"inputs\": {},\r\n      \"id\": \"condition_3\",\r\n      \"label\": \"Temperatur über 23.3\",\r\n      \"description\": \"Thermostat Studio\",\r\n      \"configuration\": {\r\n        \"itemName\": \"homematic_HG_HM_TC_IT_WM_W_EU_HMCFGUSB2_NEQ0362419_1_TEMPERATURE\",\r\n        \"state\": \"23.3\",\r\n        \"operator\": \">\"\r\n      },\r\n      \"type\": \"ItemStateCondition\"\r\n    },\r\n    {\r\n      \"inputs\": {},\r\n      \"id\": \"condition_6\",\r\n      \"label\": \"Sonnenposition\",\r\n      \"description\": \"Sonne weiter als 180 Grad sued\",\r\n      \"configuration\": {\r\n        \"itemName\": \"astro_sun_local_position_azimuth\",\r\n        \"state\": \"180\",\r\n        \"operator\": \">\"\r\n      },\r\n      \"type\": \"ItemStateCondition\"\r\n    }\r\n  ],\r\n  \"actions\": [\r\n    {\r\n      \"inputs\": {},\r\n      \"id\": \"action_2\",\r\n      \"label\": \"Jalousie runter\",\r\n      \"description\": \"Jalousie Studio\",\r\n      \"configuration\": {\r\n        \"itemName\": \"homematic_HG_HM_LC_Bl1PBU_FM_HMCFGUSB2_NEQ0050445_1_LEVEL\",\r\n        \"command\": \"20.0\"\r\n      },\r\n      \"type\": \"ItemPostCommandAction\"\r\n    }\r\n  ],\r\n  \"configuration\": {},\r\n  \"configDescriptions\": [],\r\n  \"uid\": \"rule_1\",\r\n  \"name\": \"Jalousie runter\",\r\n  \"tags\": [],\r\n  \"visibility\": \"VISIBLE\",\r\n  \"description\": \"Temperatur\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/248829061","html_url":"https://github.com/eclipse/smarthome/issues/2202#issuecomment-248829061","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/2202","id":248829061,"user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T07:10:46Z","updated_at":"2016-09-22T07:10:46Z","body":"@danchom & @aounhaider1 Could you check whether this is a problem in the rule engine or in the Paper UI?"}}
{"actor":{"display_login":"kaikreuzer"}}