openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[CALDAV] items config parser: value 'EVENT' not valid #5777

Closed williwacker closed 5 years ago

williwacker commented 5 years ago

When changing the caldav.items file I get the following error in the openhab.log:

org.eclipse.smarthome.model.item.BindingConfigParseException: value 'EVENT' not valid
        at org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(BindingConfigReaderDelegate.java:51) ~[?:?]

Items file:

Group kalender_wk <calendar>

String      CalDav_Subject1   "Termin [%s]"                 <calendar>   (kalender_wk)  { caldavPersonal="calendar:kalender_wk type:EVENT eventNr:1 value:SUMMARY"}

Environment

java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)

CalDav Binding (Personal) 1.13.0 Openhab 2.4.0 Raspbian stretch

williwacker commented 5 years ago

error msg is misleading because the type 'EVENT' is listed even the check is done against the value. After changing the value to 'NAME' the error is gone, but I still cannot see any items in my web view.