myparcelnl / prestashop

PrestaShop module to integrate with MyParcel NL and BE
https://developer.myparcel.nl/nl/documentatie/11.prestashop.html
10 stars 5 forks source link

When a customer account is deleted you get an error #143

Closed AaronTajriba closed 2 years ago

AaronTajriba commented 2 years ago

Module version

1.5.1

PrestaShop version

1.7.8.5

PHP version

7.3

What went wrong?

When i have an order in my list with no customer (customer is deleted) the backoffice crashes. You are unable to open these orders. Schermafbeelding 2022-04-19 om 14 54 21

Reproduction steps

  1. Create an order with an account
  2. delete the account
  3. try to search the order in the order list
  4. ét vóila, you have te error

Relevant log output

Type error: Argument 1 passed to Gett\MyparcelNL\Factory\Consignment\ConsignmentFactory::getLabelParams() must be of the type array, null given, called in /home/bertboon/domains/bertboonviolins.com/public_html/modules/myparcelnl/src/Factory/Consignment/ConsignmentFactory.php on line 199

Additional context

There are alot of bugs in the new version of myparcel... please try to fix these...

MyParcelBot commented 2 years ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: