Projekt

Allgemein

Profil

Aktionen

GX-Bug #68106

offen

CSV Import verliert Zuordnung von Zusatzfeldern, wenn die Felder für Sprachen nicht alle in einer Datei sind / CSV import loses mapping of additional fields if the fields for languages are not all in one file

Von Till Tepelmann vor mehr als 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Anerkannt
Priorität:
Normal
Zugewiesen an:
-
Kategorie:
CSV
Zielversion:
-
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.2.1.0, 4.3.1.0, 4.3.2.0
Release Notes Langtext:

Beschreibung

CSV Import verliert Zuordnung von Zusatzfeldern, wenn die Felder für Sprachen nicht alle in einer Datei sind

Wenn man z.B. Zusatzfelder in Deutsch importiert in einer CSV Datei und dann mit einer zweiten Datei die Zusatzfelder für Englisch importiert, gehen die Zuordnungen für die deutschen Zusatzfelder wieder verloren, obwohl diese in der Datenbank noch vorhanden sind, aber in der Tabelle additional_field_values_description wird einfach eine neue ID erzeugt und die englschen Werte werden dann neu zugeordnet.
In der Tabelle additional_field_values_description müssen für jede Sprache eine Zeile mit der gleichen ID exitieren additional_field_values_id, damit die Zuordnung funktioniert.

Kann wie folgt reproduziert werden:

  1. Artikel anlegen
  2. Bei den Zusatzfelder ein Namen für Deutsch eintragen z.B. Material
  3. Im Wert z.B. Edalstahl eintragen für beide Sprachen
  4. Speichern
  5. CSV Export der Artikeldaten aufrufen
  6. Das Schema bearbeiten und dort die Spalte für das "Zusatzfeld" hinzufügen
  7. Ein Export starten und Datei herunterladen
  8. Dann aus der CSV Datei die englischen Spalten für die Zusatzfelder löschen
  9. CSV Datei speichern
  10. CSV Datei hochladen in den Ordner /import/
  11. Datei unter Import / Export->Import auswählen
  12. Importieren
  13. Artikel im Admin bearbeiten
  14. Felder für die englischen Zusatzfelder sind wieder leer

CSV import loses assignment of additional fields if the fields for languages are not all in one file

For example, if you import additional fields in German in a CSV file and then import the additional fields for English with a second file, the assignments for the German additional fields are lost again, even though they are still in the database, but in the additional_field_values_description table a new ID is simply created and the English values are then reassigned.
In the additional_field_values_description table, a row with the same ID must exit additional_field_values_id for each language for the mapping to work.

Can be reproduced as follows:

  1. create product
  2. enter a name for German in the additional fields e.g. Material
  3. enter in the value e.g. Edalstahl for both languages
  4. save
  5. access the CSV export of the article data
  6. edit the schema and add there the column for the "additional field
  7. start export and download file
  8. delete the English columns for the additional fields from the CSV file
  9. save the CSV file
  10. upload CSV file to /import/ folder
  11. select file under Import / Export->Import
  12. import
  13. edit product in Admin
  14. fields for english additional fields are empty again

Aktionen #1

Von Ulrich Wenk vor etwa 3 Jahren aktualisiert

  • Status wurde von Gemeldet zu Anerkannt geändert
Aktionen #2

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Zielversion 133 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF