{"action":"created","issue":{"url":"https://api.github.com/repos/v1r0x/polls/issues/73","repository_url":"https://api.github.com/repos/v1r0x/polls","labels_url":"https://api.github.com/repos/v1r0x/polls/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/v1r0x/polls/issues/73/comments","events_url":"https://api.github.com/repos/v1r0x/polls/issues/73/events","html_url":"https://github.com/v1r0x/polls/issues/73","id":167608689,"number":73,"title":"Doesn't work after upgrade to NextCloud 9.0.53","user":{"login":"kosli","id":203928,"avatar_url":"https://avatars.githubusercontent.com/u/203928?v=3","gravatar_id":"","url":"https://api.github.com/users/kosli","html_url":"https://github.com/kosli","followers_url":"https://api.github.com/users/kosli/followers","following_url":"https://api.github.com/users/kosli/following{/other_user}","gists_url":"https://api.github.com/users/kosli/gists{/gist_id}","starred_url":"https://api.github.com/users/kosli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosli/subscriptions","organizations_url":"https://api.github.com/users/kosli/orgs","repos_url":"https://api.github.com/users/kosli/repos","events_url":"https://api.github.com/users/kosli/events{/privacy}","received_events_url":"https://api.github.com/users/kosli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T13:35:58Z","updated_at":"2016-07-26T14:11:39Z","closed_at":null,"body":"I migrated my OwnCloud 9.0.4 to NextCloud 9.0.53 today and after enabling the polls plugin again, it doesn't work. When switching to the Polls app i get the following:\r\n\r\n` {\"Exception\":\"Symfony\\\\Component\\\\Routing\\\\Exception\\\\InvalidParameterException\",\"Message\":\"Parameter \\\"hash\\\" for route \\\"polls.page.goto_poll\\\" must match \\\"[^\\/]++\\\" (\\\"\\\" given) to generate a corresponding URL.\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/3rdparty\\/symfony\\/routing\\/Generator\\/UrlGenerator.php(136): Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, 'polls.page.goto...', 1, Array, Array)\\n#1 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/route\\/router.php(316): Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGenerator->generate('polls.page.goto...', Array, 1)\\n#2 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/urlgenerator.php(66): OC\\\\Route\\\\Router->generate('polls.page.goto...', Array)\\n#3 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/apps\\/polls\\/templates\\/main.tmpl.php(40): OC\\\\URLGenerator->linkToRoute('polls.page.goto...', Array)\\n#4 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/template\\/base.php(161): include('\\/var\\/www\\/client...')\\n#5 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/template\\/base.php(139): OC\\\\Template\\\\Base->load('\\/var\\/www\\/client...')\\n#6 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/template.php(222): OC\\\\Template\\\\Base->fetchPage()\\n#7 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/public\\/appframework\\/http\\/templateresponse.php(156): OC_Template->fetchPage()\\n#8 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/appframework\\/http\\/dispatcher.php(112): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#9 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/appframework\\/app.php(110): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Polls\\\\Controller\\\\PageController), 'index')\\n#10 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/appframework\\/routing\\/routeactionhandler.php(45): OC\\\\AppFramework\\\\App::main('PageController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#11 [internal function]: OC\\\\AppFramework\\\\routing\\\\RouteActionHandler->__invoke(Array)\\n#12 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/private\\/route\\/router.php(276): call_user_func(Object(OC\\\\AppFramework\\\\routing\\\\RouteActionHandler), Array)\\n#13 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/lib\\/base.php(967): OC\\\\Route\\\\Router->match('\\/apps\\/polls\\/')\\n#14 \\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/index.php(39): OC::handleRequest()\\n#15 {main}\",\"File\":\"\\/var\\/www\\/clients\\/client123\\/web234\\/web.cloud\\/3rdparty\\/symfony\\/routing\\/Generator\\/UrlGenerator.php\",\"Line\":177}`"},"comment":{"url":"https://api.github.com/repos/v1r0x/polls/issues/comments/235279722","html_url":"https://github.com/v1r0x/polls/issues/73#issuecomment-235279722","issue_url":"https://api.github.com/repos/v1r0x/polls/issues/73","id":235279722,"user":{"login":"kosli","id":203928,"avatar_url":"https://avatars.githubusercontent.com/u/203928?v=3","gravatar_id":"","url":"https://api.github.com/users/kosli","html_url":"https://github.com/kosli","followers_url":"https://api.github.com/users/kosli/followers","following_url":"https://api.github.com/users/kosli/following{/other_user}","gists_url":"https://api.github.com/users/kosli/gists{/gist_id}","starred_url":"https://api.github.com/users/kosli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosli/subscriptions","organizations_url":"https://api.github.com/users/kosli/orgs","repos_url":"https://api.github.com/users/kosli/repos","events_url":"https://api.github.com/users/kosli/events{/privacy}","received_events_url":"https://api.github.com/users/kosli/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T14:11:39Z","updated_at":"2016-07-26T14:11:39Z","body":"this happens when going straight on the \"polls\" tile in the menu. \r\nthere is only one poll in oc_polls_events and that has a \"NULL\" hash value. but i think the poll has been deleted, as all other entries have a \"poll_id\" of \"NULL\" too. i'll just empty the tables and see if it works. "}}
{"actor":{"display_login":"kosli"}}