Open carbsrule opened 1 year ago
Summary When saving config for certain integrations via Oro admin, an exception is thrown which ends up displaying an error to the admin user
Steps to reproduce Attempt to save the config for an integration
Actual Result Config is saved, but an exception is logged, but the admin user sees two error messages:
Expected Result No exception is logged, and admin user sees the success message: Integration saved
Details about your environment
Additional information
request.CRITICAL: Uncaught PHP Exception BadMethodCallException: "Cannot serialize Symfony\Component\Cache\Adapter\FilesystemAdapter" at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php line 179 {"exception":"[object] (BadMethodCallException(code: 0): Cannot serialize Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:179)\n[previous exception] [object] (BadMethodCallException(code: 0): Cannot serialize Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter at /oro/vendor/symfony/cache/Traits/FilesystemCommonTrait.php:179)"} []
A fix is available here: https://github.com/oroinc/platform/pull/1101
Summary
When saving config for certain integrations via Oro admin, an exception is thrown which ends up displaying an error to the admin user
Steps to reproduce
Attempt to save the config for an integration
Actual Result Config is saved, but an exception is logged, but the admin user sees two error messages:
Expected Result
No exception is logged, and admin user sees the success message: Integration saved
Details about your environment
Additional information