Projekt

Allgemein

Profil

Aktionen

GX-Bug #63106

geschlossen

Fatal Error while placing an order manually in the backend (imported product with quantitiy unit) / Fehlermeldung beim manuellen Erstellen einer Bestellung im Backend (importierter Artikel mit Mengeneinheit)

Von Ulrich Wenk vor mehr als 5 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Amine Riad
Kategorie:
Adminbereich
Zielversion:
% erledigt:

100%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.12.2.0, 3.13.2.0 beta1
Release Notes Langtext:

Per CSV-Import werden jetzt Mengeneinheiten ignoriert, die nicht existieren


Beschreibung

Preconditions:

  • have an export ready from a category with a product with a quantity unit from another shop (which has quantity units configured)
  • your testing shop mustn't have quantity units
  1. import your product into your testing shop
  2. go to Customers > new order
  3. place a new order manually (dropdown)
  4. on the order-site go to edit (in the products box)
  5. type in a search term (your imported product's name) --> the product appears
  6. add this product to the order
  • result: fatal error after pressing 'add'

  • thoughts: maybe this flaw has something to do with this issue: #62869. If so, please feel free to link this ticket.

  • Apart from that, the product seems to function just fine in the shop, there is no hint of the product got imported with an invisible quantitiy unit

FATAL ERROR(1): "Uncaught InvalidArgumentException: StringType: Invalid argument value given (expected string got NULL): in /var/www/uw/3.13.2.0_beta1/GXEngine/Shared/Types/StringType.inc.php:42
Stack trace:
#0 /var/www/uw/3.13.2.0_beta1/admin/orders_edit.php(526): StringType->__construct(NULL)
#1 {main}
thrown"
Information:
<br />
<b>Fatal error</b>: Uncaught InvalidArgumentException: StringType: Invalid argument value given (expected string got NULL): in /var/www/uw/3.13.2.0_beta1/GXEngine/Shared/Types/StringType.inc.php:42
Stack trace:
#0 /var/www/uw/3.13.2.0_beta1/admin/orders_edit.php(526): StringType-&gt;__construct(NULL)
#1 {main}
thrown in <b>/var/www/uw/3.13.2.0_beta1/GXEngine/Shared/Types/StringType.inc.php</b> on line <b>42</b><br />


Aktionen

Auch abrufbar als: Atom PDF