GX-Bug #70092
geschlossenBeim Anlegen eines Kunden im Gambio Admin wird das Bundesland nicht vollständig in der Datenbank gespeichert | When creating a customer in the Gambio Admin, the state is not completely saved in the database
0%
Beim Anlegen eines Kunden im Gambio Admin wird das Bundesland jetzt vollständig in der Datenbank gespeichert
Beschreibung
In the table address_book
only the field entry_state
but not the field entry_zone_id
is filled.
entry_zone_id
is the foreign key to the zones
table containing all the states. entry_zone_id
may only be left empty if the country in the store has no states. Then the state field must be a free text field, as it is in the registration.
The updater has to add missing entry_zone_id
values.
--
How to test:
- Make a POST request -> api.php/v3/customers/register using Postman or similar
- Use the attached body data file to make the requests
Expected: The customer should be created without errors.
Actual: An error is being thrown: An unexpected error occurred. Argument 9 passed to Gambio\Admin\Modules\Customer\Submodules\Address\Services\CustomerAddressFactory::createLocationInformation() must be of the type int, string given [...]
Dateien