{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/3282","repository_url":"https://api.github.com/repos/openhab/openhab","labels_url":"https://api.github.com/repos/openhab/openhab/issues/3282/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/3282/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/3282/events","html_url":"https://github.com/openhab/openhab/issues/3282","id":110915797,"number":3282,"title":"Getting Error when trying to bind more than one Datapoint to ntp","user":{"login":"udo1toni","id":5974344,"avatar_url":"https://avatars.githubusercontent.com/u/5974344?v=3","gravatar_id":"","url":"https://api.github.com/users/udo1toni","html_url":"https://github.com/udo1toni","followers_url":"https://api.github.com/users/udo1toni/followers","following_url":"https://api.github.com/users/udo1toni/following{/other_user}","gists_url":"https://api.github.com/users/udo1toni/gists{/gist_id}","starred_url":"https://api.github.com/users/udo1toni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udo1toni/subscriptions","organizations_url":"https://api.github.com/users/udo1toni/orgs","repos_url":"https://api.github.com/users/udo1toni/repos","events_url":"https://api.github.com/users/udo1toni/events{/privacy}","received_events_url":"https://api.github.com/users/udo1toni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openhab/openhab/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-12T06:42:08Z","updated_at":"2016-02-20T08:39:58Z","closed_at":null,"body":"I think this is associated with https://github.com/openhab/openhab/pull/3251 ...\r\nI use an Item to update the Clocks in knx System:\r\n\r\n    DateTime Date \"Zeit [%1$tA, %1$td. %1$tB %1$tY %1$tT]\" <calendar> (All) {ntp=\"Europe/Berlin:de_DE\",knx=\"11.001:15/7/11, 10.001:15/7/10\" } \r\n\r\nThis has worked as expected until I updated to 1.8.0-1034 (my last nightly Version was 1.8.0-1009, so it's uncertain when this Bug exactly rised)\r\n\r\nNow I'm getting an Error:\r\n\r\n```\r\n2015-10-12 07:04:04.464 [ERROR] [i.internal.GenericItemProvider] - Binding configuration of type 'knx' of item  ^ ^ Date ^ ^  could not be parsed correctly.\r\norg.openhab.model.item.binding.BindingConfigParseException: No more than 1 datapoint definitions are allowed for this item.\r\n        at org.openhab.binding.knx.internal.config.KNXGenericBindingProvider.parseBindingConfigString(KNXGenericBindingProvider.java:429) ~[na:na]\r\n        at org.openhab.binding.knx.internal.config.KNXGenericBindingProvider.processBindingConfiguration(KNXGenericBindingProvider.java:106) ~[na:na]\r\n        at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:348) [org.openhab.model.item_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:324) [org.openhab.model.item_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:171) [org.openhab.model.item_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:390) [org.openhab.model.item_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) [org.openhab.model.core_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) [org.openhab.model.core_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) [org.openhab.model.core_1.8.0.201510100138.jar:na]\r\n        at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) [org.openhab.model.core_1.8.0.201510100138.jar:na]\r\n```\r\nBut knx uses two different DPT for Time and Date, where 10.001 represents DoW, hh:mm:ss and 11.001 represents DDMMYY. It really should be possible to set both DPT."},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/186543033","html_url":"https://github.com/openhab/openhab/issues/3282#issuecomment-186543033","issue_url":"https://api.github.com/repos/openhab/openhab/issues/3282","id":186543033,"user":{"login":"9037568","id":9916473,"avatar_url":"https://avatars.githubusercontent.com/u/9916473?v=3","gravatar_id":"","url":"https://api.github.com/users/9037568","html_url":"https://github.com/9037568","followers_url":"https://api.github.com/users/9037568/followers","following_url":"https://api.github.com/users/9037568/following{/other_user}","gists_url":"https://api.github.com/users/9037568/gists{/gist_id}","starred_url":"https://api.github.com/users/9037568/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9037568/subscriptions","organizations_url":"https://api.github.com/users/9037568/orgs","repos_url":"https://api.github.com/users/9037568/repos","events_url":"https://api.github.com/users/9037568/events{/privacy}","received_events_url":"https://api.github.com/users/9037568/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T08:39:58Z","updated_at":"2016-02-20T08:39:58Z","body":"I don't have any KNX devices, so I can't verify if the above patch works in a real environment, but it eliminates the index out of bounds exception which causes the \"BindingConfigParseException: No more than 1 datapoint definitions are allowed for this item.\" error to be thrown."}}