Projekt

Allgemein

Profil

Aktionen

GX-Bug #70777

geschlossen

Wenn man Artikel kopiert und dort das Artikelbild tauscht, wird das Bild auch beim Quellartikel gelöscht / If you copy products and swap the product image, the image is also deleted from the source product

Von Till Tepelmann vor 6 Monaten hinzugefügt. Vor 2 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

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

Das Hauptbild wird nicht mehr gelöscht, wenn der ResponsiveFileManager nicht verwendet wird und das Hauptbild des Produkts geändert wird, ohne die Checkbox „Löschen“ zu aktivieren.


Beschreibung

Wenn man Artikel kopiert und dort das Artikelbild tauscht, wird das Bild auch beim Quellartikel gelöscht

Kann wie folgt reproduziert werden:

  1. Shop 4.9.1.0 installieren
  2. Als Admin einloggen
  3. Unter Module->Modul-Center" den Dateimanager für "Kategorie / Artikel deaktivieren"
  4. Einen bestehenden Artikel kopieren im Dialog "Duplizieren" wählen
  5. Den kopierten Artikel bearbeiten, z.B. Name oder Beschreibung ändern
  6. Dann ein neues Bild einfügen ohne die Option "Löschen" zu aktivieren, die Checkbox muss aus sein
  7. Artikel speichern
  8. Quellartikel im Shop öffnen
  9. Mit der Maus über das Artikelbild fahren

Erwartetes Verhalten:
Wenn man bei einem kopierten Artikel das Bild tauscht ohne das alte zu löschen, sollte im Qullartikel das Bild weiterhin verfügbar sein. Es sollte beim aktivieren der Checkbox "Löschen" eine Sicherheitsabfrage angezeigt werden, dass das Bild noch bei anderen Artikeln verwendet wird.
"Das Bild wird noch bei folgenden Artikeln verwendet, soll das Bild wirklich gelöscht werden?"

Tatsächliches Verhalten:
Wenn man ein kopierten Artikel überarbeitet und das Artikelbild tauscht ohne die Checkbox "Löschen" zu aktivieren, wird das Bild im Ordner /images/product_images/original_images/ trotzdem gelöscht, ob wohl es nicht gelöscht werden sollte.


If you copy products and swap the product image, the image is also deleted from the source product

Can be reproduced as follows:

  1. install Shop 4.9.1.0
  2. log in as admin
  3. deactivate the file manager for "Category / Product" under "Modules->Module Center
  4. copy an existing product in the "Duplicate" dialog box
  5. edit the copied product, e.g. change name or description
  6. then paste a new image without activating the "Delete" option, the checkbox must be off
  7. save the product
  8. open the source article in the store
  9. move the mouse over the article image

Expected behavior:
If you swap the image for a copied product without deleting the old one, the image should still be available in the source product. When activating the "Delete" checkbox, a confirmation prompt should be displayed that the image is still being used in other products.
"The image is still being used in the following products, do you really want to delete the image?"

Actual behavior:
If you revise a copied product and replace the product image without activating the "Delete" checkbox, the image in the /images/product_images/original_images/ folder is still deleted, even though it should not be deleted.


Dateien

2024-03-13_12h16_40.mp4 (16,1 MB) 2024-03-13_12h16_40.mp4 Jessica Balaban, 13.03.2024 12:16

Aktionen #1

Von Till Tepelmann vor 6 Monaten aktualisiert

  • Tags wurde auf 4.9.3.0_beta1 gesetzt
Aktionen #2

Von Alexandre Ataides vor 6 Monaten aktualisiert

  • Status wurde von Gemeldet zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Alexandre Ataides gesetzt
Aktionen #3

Von Alexandre Ataides vor 6 Monaten aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an Alexandre Ataides wurde gelöscht
  • Zielversion wurde auf 4.9.3.0 beta1 gesetzt
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #5

Von Josua Michalak vor 5 Monaten aktualisiert

  • Zugewiesen an wurde auf Josua Michalak gesetzt
Aktionen #6

Von Josua Michalak vor 5 Monaten aktualisiert

  • Zugewiesen an Josua Michalak wurde gelöscht
Aktionen #7

Von Anis Mashku vor 5 Monaten aktualisiert

  • Zugewiesen an wurde auf Anis Mashku gesetzt
Aktionen #8

Von Anis Mashku vor 5 Monaten aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #9

Von Till Tepelmann vor 4 Monaten aktualisiert

  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen

Auch abrufbar als: Atom PDF