Prerequisites
Describe the bug and add attachments
It looks like it is not possible to consult customer data and complete an erasure procedure in version 9.x. The stack trace is
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "ajaxDie" of class "AdminAjaxPsgdprController".
at modules/psgdpr/controllers/admin/AdminAjaxPsgdprController.php:92
at AdminAjaxPsgdprController->ajaxProcessGetCustomerData()
(classes/controller/AdminController.php:976)
at AdminControllerCore->postProcess()
(src/PrestaShopBundle/Controller/Admin/LegacyController.php:81)
at PrestaShopBundle\Controller\Admin\LegacyController->legacyPageAction(object(Request))
(vendor/symfony/http-kernel/HttpKernel.php:181)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:208)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, true)
(admin662nx1jmtgau3xzskao/index.php:72)
Looking at the changelog, it would seem ajaxDie was only available in version before 9.x
Steps to reproduce
- Install the latest PrestaShop (9.1.4 in my case)
- Install the GDPR plugin
- Try to view or erase customer's personal data
Expected behavior
The data should display or the erasure complete, and not 500 response should be noticed
Actual Result
An empty rectangle displaying and a 500 XHR response with the linked stack trace is visible in debug console
PrestaShop version where the bug happens
9.1.4
Module version where the bug happens
1.4.3
PHP version(s) where the bug happened
8.0
Your company or customer's name goes here (if applicable).
No response
Prerequisites
Describe the bug and add attachments
It looks like it is not possible to consult customer data and complete an erasure procedure in version 9.x. The stack trace is
Looking at the changelog, it would seem
ajaxDiewas only available in version before 9.xSteps to reproduce
Expected behavior
The data should display or the erasure complete, and not 500 response should be noticed
Actual Result
An empty rectangle displaying and a 500 XHR response with the linked stack trace is visible in debug console
PrestaShop version where the bug happens
9.1.4
Module version where the bug happens
1.4.3
PHP version(s) where the bug happened
8.0
Your company or customer's name goes here (if applicable).
No response