GX-Bug #70092
Von Alexandre Ataides vor etwa 2 Jahren aktualisiert
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: 1. Make a POST request -> api.php/v3/customers/register using Postman or similar 1. 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 [...]