Mautic Community Forums

Mautic Contact Notes Bug

Using 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.



The log for the error is:

[2016-07-06 16:11:32] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionAccessDeniedHttpException: “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)”} []



Another 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.

Using 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.

The log for the error is:
[2016-07-06 16:11:32] mautic.ERROR: Uncaught PHP Exception SymfonyComponentHttpKernelExceptionAccessDeniedHttpException: “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)”} []

Another 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.