postnl / postnl-magento2

This is the official Magento 2 extension for the logistics company PostNL. Add shipping options and parcelshops to your checkout. Create labels with track and trace functionality from the backend.
58 stars 61 forks source link

[BUG] Not able to use Swagger with latest release #341

Closed ThomasMW closed 1 year ago

ThomasMW commented 1 year ago

To Reproduce Install v1.12.4 of the extension on Magento 2.4.2-p2

Expected result A functioning Swagger

Actual result Swagger can't be used and the following error is logged;

[2022-11-10 14:51:50] main.CRITICAL: Report ID: webapi-636d10069ddbd; Message: The "MatrixrateInterface" class doesn't exist and the namespace must be specified. Verify and try again. {"exception":"[object] (Exception(code: 0): Report ID: webapi-636d10069ddbd; Message: The \"MatrixrateInterface\" class doesn't exist and the namespace must be specified. Verify and try again. at /data/web/magento2/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0): The \"MatrixrateInterface\" class doesn't exist and the namespace must be specified. Verify and try again. at /data/web/magento2/vendor/magento/framework/Reflection/TypeProcessor.php:143)"} []

Workaround Downgrade to v1.12.3 or lower

Please complete the following information

tig-jeffreybranderhorst commented 1 year ago

Hi @ThomasMW ,

Thank you for submitting this issue, we are going to fix this, and we will release it in an upcoming release.

Have a great day, Jeffrey

tig-jeffreybranderhorst commented 1 year ago

Hey @ThomasMW ,

This should be fixed in our latest version of the extension. Thank you again for reporting this issue.

Have a great day, Jeffrey