{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/calendar/issues/325","repository_url":"https://api.github.com/repos/owncloud/calendar","labels_url":"https://api.github.com/repos/owncloud/calendar/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/calendar/issues/325/comments","events_url":"https://api.github.com/repos/owncloud/calendar/issues/325/events","html_url":"https://github.com/owncloud/calendar/issues/325","id":140526668,"number":325,"title":"Deleting a calendar does not actually delete the calendar","user":{"login":"eesko","id":6523279,"avatar_url":"https://avatars.githubusercontent.com/u/6523279?v=3","gravatar_id":"","url":"https://api.github.com/users/eesko","html_url":"https://github.com/eesko","followers_url":"https://api.github.com/users/eesko/followers","following_url":"https://api.github.com/users/eesko/following{/other_user}","gists_url":"https://api.github.com/users/eesko/gists{/gist_id}","starred_url":"https://api.github.com/users/eesko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eesko/subscriptions","organizations_url":"https://api.github.com/users/eesko/orgs","repos_url":"https://api.github.com/users/eesko/repos","events_url":"https://api.github.com/users/eesko/events{/privacy}","received_events_url":"https://api.github.com/users/eesko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-13T20:37:04Z","updated_at":"2016-03-13T21:47:08Z","closed_at":null,"body":"In ownCloud 9.0.0/Calendar 1.0 deleting a calendar does not actually delete the calendar. The calendar is still reachable via dav. When creating a new calendar with the same name it is issued a new dav name where the calendar name is followed by \"-1\"\r\n\r\n### Steps to reproduce\r\n1. Create a calendar\r\n2. Delete the newly created calendar \r\n3. Create a new calendar with same name as the deleted one\r\n\r\n### Expected behaviour\r\nA single calendar exists that is reachable via dav at owncloudhost/remote.php/dav/calendars/user/calendarname and via the web interface where it is named calendarname\r\n\r\n### Actual behaviour\r\nTwo calendars exist that are reachable via dav:\r\nowncloudhost/remote.php/dav/calendars/user/calendarname\r\nand owncloudhost/remote.php/dav/calendars/user/calendarname-1\r\nonly calendarname-1 is reachable via web interface where it is named calendarname\r\n\r\n### Server configuration\r\n**Operating system**: Linux 3.14.50\r\n\r\n**Web server:** Apache 2.2\r\n\r\n**Database:** MariaDB 10.0.23\r\n\r\n**PHP version:** 5.4.45\r\n\r\n**ownCloud version:** 9.0.0\r\n\r\n**Calendar version:** 1.0\r\n\r\n**Updated from an older ownCloud or fresh install:** fresh install\r\n\r\n**Signing status (ownCloud 9.0 and above):** No errors have been found.\r\n\r\n**List of activated apps:**\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.0\r\n  - contacts: 1.0.0.0\r\n  - dav: 0.1.5\r\n  - federatedfilesharing: 0.1.0\r\n  - files: 1.4.4\r\n  - files_trashbin: 0.8.0\r\n  - files_videoplayer: 0.9.8\r\n  - gallery: 14.5.0\r\n  - updatenotification: 0.1.0\r\nDisabled:\r\n  - comments\r\n  - encryption\r\n  - external\r\n  - federation\r\n  - files_external\r\n  - files_pdfviewer\r\n  - files_sharing\r\n  - files_texteditor\r\n  - files_versions\r\n  - firstrunwizard\r\n  - notifications\r\n  - provisioning_api\r\n  - systemtags\r\n  - templateeditor\r\n  - user_external\r\n  - user_ldap\r\n\r\n**The content of config/config.php:**\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"oc6ejbjoem34\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"removed\"\r\n        ],\r\n        \"datadirectory\": \"\\/home\\/users\\/removed\\/owncloud_data\",\r\n        \"overwrite.cli.url\": \"https:\\/\\/removed\\/owncloud\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"removed\",\r\n        \"dbhost\": \"removed\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"UTC\",\r\n        \"installed\": true\r\n    }\r\n}\r\n\r\n**Are you using external storage, if yes which one:** local\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** no\r\n\r\n### Client configuration\r\n**Browser:** Vivaldi\t1.0.403.24 (Beta 3) (32-bit)\r\n\r\n**Operating system:** Windows 7\r\n\r\n**CalDAV-clients:** Lightning 4.0.6, Windows phone 8.1, davDroid 0.9.1.3\r\n\r\n### Logs\r\n#### Web server error log\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n\r\n#### Browser log\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/calendar/issues/comments/196058245","html_url":"https://github.com/owncloud/calendar/issues/325#issuecomment-196058245","issue_url":"https://api.github.com/repos/owncloud/calendar/issues/325","id":196058245,"user":{"login":"georgehrke","id":1250540,"avatar_url":"https://avatars.githubusercontent.com/u/1250540?v=3","gravatar_id":"","url":"https://api.github.com/users/georgehrke","html_url":"https://github.com/georgehrke","followers_url":"https://api.github.com/users/georgehrke/followers","following_url":"https://api.github.com/users/georgehrke/following{/other_user}","gists_url":"https://api.github.com/users/georgehrke/gists{/gist_id}","starred_url":"https://api.github.com/users/georgehrke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgehrke/subscriptions","organizations_url":"https://api.github.com/users/georgehrke/orgs","repos_url":"https://api.github.com/users/georgehrke/repos","events_url":"https://api.github.com/users/georgehrke/events{/privacy}","received_events_url":"https://api.github.com/users/georgehrke/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T21:47:08Z","updated_at":"2016-03-13T21:47:08Z","body":"> In ownCloud 9.0.0/Calendar 1.0 deleting a calendar does not actually delete the calendar. \r\n\r\nCan't reproduce.\r\nDoes it work for you in Chrome or Firefox?"}}