Projekt

Allgemein

Aktionen

GX-Bug #69511

geschlossen

CSV Import von Variantenartikeln kann die Optionen unbrauchbar machen / CSV Import of products with variants can break Options

Von Armin Eden vor mehr als 3 Jahren hinzugefügt. Vor etwa 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Marvin Muxfeld
Kategorie:
CSV
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.5.1.1
Release Notes Langtext:

Fehler beim CSV-Import von Artikel mit Varianten wurde behoben


Beschreibung

Im Shop unter Artikel -> Optionen eine neue Option einlegen.
Dieser Option mehrere Werte hinzufügen - darunter einen Wert A einmal groß und a einmal klein geschrieben.

Dann einen Artikel anlegen und diesem die Option als Artikelvariante mit ihren Werten zuweisen.

Einen CSV Export mit allen Varianten starten.
Im Artikel die Artikelvarianten löschen.

Die CSV Datei unverändert importieren.

Erwartetes Ergebnis:
Die Artikelvarianten im Artikel sind erneut vorhanden und unter Aritkel -> Optionen lassen sich diese bearbeiten.

Tatsächliches Ergebnis:
Unter Aritkel -> Optionen erhält man nur noch eine Fehlermeldung und die Optionen können nicht bearbeitet werden.

Fehlermeldung als Kommentar angehängt.

Insert a new option in the store under Article -> Options.
Add several values to this option - including a value A written once in upper case and a written once in lower case.

Then create an article and assign the option to it as an article variant with its values.

Start a CSV Export with all variants.
Delete the article variants in the article.

Import the CSV file unchanged.

Expected result:
The article variants in the article are available again and under Categories -> Options the options can be edited.

Actual result:
Under Categories-> Options you only get an error message and the options cannot be edited.

Error Message as comment.


Checkliste 0/0

Aktionen #2

Von Armin Eden vor mehr als 3 Jahren aktualisiert

The following Error occurs during that process:
######################################################################

[2022-01-20 12:10:53 | CRITICAL] Argument 1 passed to Gambio\Admin\Modules\Option\Services\OptionFactory::createOptionValueDetail() must be of the type string, null given, called in /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php on line 175
context:
exception:
class: TypeError
message: Argument 1 passed to Gambio\Admin\Modules\Option\Services\OptionFactory::createOptionValueDetail() must be of the type string, null given, called in /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php on line 175
code: 0
file: /www/GambioAdmin/Modules/Option/Services/OptionFactory.php:199
trace:
0: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:175
1: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:177
2: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:136
3: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:148
4: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:99
5: /www/GambioAdmin/Modules/Option/App/Data/OptionMapper.php:84
6: /www/GambioAdmin/Modules/Option/App/OptionRepository.php:112
7: /www/GambioAdmin/Modules/Option/App/OptionReadService.php:67
8: /www/GambioAdmin/Modules/Option/App/Actions/Json/FetchAllOptionsAction.php:64
9: /www/GambioCore/Application/Http/AbstractAction.php:76
10: /www/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php:43
11: /www/vendor/slim/slim/Slim/Routing/Route.php:384
12: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81
13: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81
14: /www/vendor/slim/slim/Slim/Routing/Route.php:341
15: /www/vendor/slim/slim/Slim/Routing/RouteRunner.php:84
16: /www/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php:59
17: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:147
18: /www/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php:107
19: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:147
20: /www/GambioAdmin/Application/Middleware/AuthMiddleware.php:87
21: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209
22: /www/GambioAdmin/Application/Middleware/SecurityHeadersMiddleware.php:54
23: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209
24: /www/GambioAdmin/Application/Middleware/AdminActivityLogMiddleware.php:54
25: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209
26: /www/GambioAdmin/Application/Middleware/UpdaterRedirectMiddleware.php:80
27: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:209
28: /www/vendor/slim/slim/Slim/MiddlewareDispatcher.php:81
29: /www/vendor/slim/slim/Slim/App.php:215
30: /www/vendor/slim/slim/Slim/App.php:199
31: /www/GambioCore/Application/Kernel/HttpKernel.php:67
32: /www/GambioCore/Application/Application.php:70
33: /www/admin/index.php:28
extra:
request:
method: GET
uri: /4511_final5/admin/api/options
software: Apache/2.4.29 (Ubuntu)
address: 192.168.101.24
userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
time: 274
remoteAddress: e5a77e2559bf6f57b42e5fcc4ac13285
session:
tpl: Malibu
language: german
languages_id: 2
language_charset: utf-8
language_code: de
currency: EUR
customers_status:
customers_status_id: 0
customers_status_name: Admin
customers_status_image: admin_status.gif
customers_status_public: 0
customers_status_min_order: 0
customers_status_max_order: 0
customers_status_discount: 0.00
customers_status_ot_discount_flag: 1
customers_status_ot_discount: 0.00
customers_status_graduated_prices: 1
customers_status_show_price: 1
customers_status_show_price_tax: 1
customers_status_add_tax_ot: 1
customers_status_payment_unallowed:
customers_status_shipping_unallowed:
customers_status_discount_attributes: 0
customers_fsk18_purchasable: 0
customers_fsk18_display: 1
customers_status_write_reviews: 1
customers_status_read_reviews: 1
customer_id: 1

Aktionen