{"action":"opened","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1966","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1966/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1966/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1966/events","html_url":"https://github.com/mautic/mautic/issues/1966","id":164125638,"number":1966,"title":"Contract notes bug","user":{"login":"JonathanSchulz","id":17800733,"avatar_url":"https://avatars.githubusercontent.com/u/17800733?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanSchulz","html_url":"https://github.com/JonathanSchulz","followers_url":"https://api.github.com/users/JonathanSchulz/followers","following_url":"https://api.github.com/users/JonathanSchulz/following{/other_user}","gists_url":"https://api.github.com/users/JonathanSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanSchulz/subscriptions","organizations_url":"https://api.github.com/users/JonathanSchulz/orgs","repos_url":"https://api.github.com/users/JonathanSchulz/repos","events_url":"https://api.github.com/users/JonathanSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanSchulz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T17:02:54Z","updated_at":"2016-07-06T17:02:54Z","closed_at":null,"body":"## Description\r\nUsing Mautic 2.0 in my local environment I found a bug when switching between pages of notes under when viewing a contract. If you have more than 30 (default) notes for a contact and go to the second page of notes and then try to return back to the first page of notes you get an 403 Forbidden error.\r\n\r\nThe log for the error is: \r\n[2016-07-06 16:11:32] mautic.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException: \"Unauthorized access to requested URL: /mautic-release-2.0.0/s/contacts/notes/1/2/1?tmpl=list&_=1467820752791&mauticUserLastActive=1&mauticLastNotificationId=2\" at /Applications/MAMP/htdocs/mautic-release-2.0.0/app/bundles/CoreBundle/Controller/CommonController.php line 387 {\"exception\":\"[object] (Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\AccessDeniedHttpException(code: 0): Unauthorized access to requested URL: /mautic-release-2.0.0/s/contacts/notes/1/2/1?tmpl=list&_=1467820752791&mauticUserLastActive=1&mauticLastNotificationId=2 at /Applications/MAMP/htdocs/mautic-release-2.0.0/app/bundles/CoreBundle/Controller/CommonController.php:387)\"} []\r\n\r\nAnother issue is that the pagination control for choosing how many notes to display on the page does not seem to work. It just reloads the page and set the number back to 30.\r\n\r\n## Steps to reproduce\r\nOn the contract page create more than 30 notes. On the notes tab click on the link for the second page of notes. Then try to return to the first page of notes."}}
{"actor":{"display_login":"JonathanSchulz"}}