Jump to content

Edit History

Lukas Truninger

Lukas Truninger


updated

I did update to 1.7.6.7 and I did hope that this solves this terrible issue - but NO. It does still not work. And once again: the issue has nothing to do with imported database. The issue happens with customer accounts created under Prestashop.
- As long a customer has not placed an order, I can edit the customer
- if customer has placed an order, I can still edit his address, but if I like to access the customer edit page (either from the order or the customer list), I endup with error 500.

I did investigate some more and found out which line of code creates the Error 500:

file: src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php  function editAction(), line 203:  (version 1.7.6.7)

            $customerInformation = $this->getQueryBus()->handle(new GetCustomerForViewing((int) $customerId));

If I comment out this line of code, things seams to work OK. The edit window opens and shows the correct customer Information....?? Even if $customerInformation content is NULL ...???  I have no idea how data is passed here? Anyone can explain / solve?
Thanx

Lukas Truninger

Lukas Truninger


updated

I did update to 1.7.6.7 and I did hope that this solves this terrible issue - but NO. It does still not work. And once again: the issue has nothing to do with imported database. The issue happens with customer accounts created under Prestashop.
- As long a customer has not placed an order, I can edit the customer
- if customer has placed an order, I can still edit his address, but if I like to access the customer edit page (either from the order or the customer list), I endup with error 500.

I did investigate some more and found out which line of code creates the Error 500:

file: src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php  function editAction(), line 203:  (version 1.7.6.7)

            $customerInformation = $this->getQueryBus()->handle(new GetCustomerForViewing((int) $customerId));

If I comment out this line of code, things seams to work OK. However I have no idea what this line of code is required for. Maybe I'm missing something I currently don't see??
Anyone can tell me what this line of code is required for?
Thanx

Lukas Truninger

Lukas Truninger

I did update to 1.7.6.7 and I did hope that this solves this terrible issue - but NO. It does still not work. And once again: the issue has nothing to do with imported database. The issue happens with customer accounts created under Prestashop.
- As long a customer has not placed an order, I can edit the customer
- if customer has placed an order, I can still edit his address, but if I like to access the customer edit page (either from the order or the customer list), I endup with error 500.

Anyone able to fix this incredible bug?

×
×
  • Create New...