{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/22508","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/22508/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/22508/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/22508/events","html_url":"https://github.com/owncloud/core/issues/22508","id":134667555,"number":22508,"title":"calendar migration skips ldap users","user":{"login":"p5n","id":1318833,"avatar_url":"https://avatars.githubusercontent.com/u/1318833?v=3","gravatar_id":"","url":"https://api.github.com/users/p5n","html_url":"https://github.com/p5n","followers_url":"https://api.github.com/users/p5n/followers","following_url":"https://api.github.com/users/p5n/following{/other_user}","gists_url":"https://api.github.com/users/p5n/gists{/gist_id}","starred_url":"https://api.github.com/users/p5n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p5n/subscriptions","organizations_url":"https://api.github.com/users/p5n/orgs","repos_url":"https://api.github.com/users/p5n/repos","events_url":"https://api.github.com/users/p5n/events{/privacy}","received_events_url":"https://api.github.com/users/p5n/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":481,"closed_issues":1588,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2016-02-19T09:33:32Z","due_on":"2016-03-08T04:00:00Z","closed_at":null},"comments":3,"created_at":"2016-02-18T19:12:07Z","updated_at":"2016-02-19T09:34:45Z","closed_at":null,"body":"### Steps to reproduce\r\nUpgrade from 8.2.2 -> 9.0beta1 with ldap backend enabled\r\n1. sudo -u http ./occ upgrade\r\n2. LDAP user's calendars are missing however users from oc_users table are ok\r\n\r\n### Expected behaviour\r\nAll calendars migrated\r\n\r\n### Actual behaviour\r\nOnly local DB user's calendars migrated from calendar to calendar-rework\r\n\r\n### Server configuration\r\n**Operating system**: Arch Linux\r\n\r\n**Web server:** apache-2.4.18\r\n\r\n**Database:** mariadb-10.1.11\r\n\r\n**PHP version:** 7.0.3\r\n\r\n**ownCloud version:** (see ownCloud admin page) 9.0beta1\r\n\r\n**Calendar version:** (see ownCloud apps page) -0.8.2 -> -rework-1.0alpha2\r\n\r\n**Updated from an older ownCloud or fresh install:** from 8.2.2\r\n\r\n#### Workaround\r\n1. Revert db\r\n2. Copy all ldap users to oc_users\r\n3. Do upgrade again\r\n4. delete ldap users back from oc_users table\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/186135807","html_url":"https://github.com/owncloud/core/issues/22508#issuecomment-186135807","issue_url":"https://api.github.com/repos/owncloud/core/issues/22508","id":186135807,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T09:34:44Z","updated_at":"2016-02-19T09:34:44Z","body":"Setting to critical because it could be an issue with app update order"}}