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] Exception hit when adding new Matrix rates in production mode #356

Closed ThomasMW closed 1 year ago

ThomasMW commented 1 year ago

I'm running into the issue where I cannot add new Matrix rates using the new Matrix rate grid. In production mode I get a blank screen with the text 'An error has happened during application run. See exception log for details.'. No error message is logged however. When I switch Magento into developer mode the functionality works and I can add a new Matrix rate.

Any help would be appreciated.

To Reproduce Steps to reproduce the behavior:

  1. Go to PostNL in main menu -> Matrix Rates - Add new matrix rate

Expected result To see the page to add a new Matrix rate

Actual result Blank screen with the message 'An error has happened during application run. See exception log for details.'. No actual error message is logged in the exception log.

Workaround Set Magento in Developer mode, then you can access the page correctly without any issues.

Please complete the following information

tig-vincentthart commented 1 year ago

Hi @ThomasMW

are you still able to add new lines using the csv upload? If so, could you share your current csv so we can see if we can reproduce the issue you encounter.

Greetings

Vincent

ThomasMW commented 1 year ago

Hi @tig-vincentthart

I can in fact still add rates using the CSV upload. The new rate is correctly shown in the Matrix rates grid after upload.

This is the current Matrix Rates CSV.

tig-vincentthart commented 1 year ago

Ho @ThomasMW

We were able to reproduce the issue and found a solution for it which we will include in the next release.

Thank you for bringing this to our attention.

Greetings

Vincent

tig-vincentthart commented 1 year ago

Hi @ThomasMW

We have released version v1.12.7 which includes a fix for the issue you encountered.

Greetings,

Vincent

ThomasMW commented 1 year ago

Hi @tig-vincentthart

Thank your for the update. I tested the new release and everything seems to work perfectly, cheers!