Projekt

Allgemein

Profil

GX-Bug #69041

Von Josua Michalak vor mehr als 2 Jahren aktualisiert

When adding new images to a collection, the file path isn't saved correctly.  
 ___ 
 **Steps to reproduce:** 
 1. Edit a product and add variants (if not already existent). 
 2. Edit a variant and select an image collection (or create a new one) 
 3. Add an image to the collection and set titles for both english and german. 
 4. Click save. 

 ___ 
 **Expected result:** 
 The selected image shows up in the collection preview.  

 **Actual result:** 
 The image appears to be broken.  

 **Additional info:** 
 The `webFilePath` is wrong since the path to the original_image directory is doubled. 
 It looks like this: 
 ``` 
 images/product_images/original_images/images/product_images/original_images/invalid_image.png 
 ``` 
 When it should look like this: 
 ``` 
 images/product_images/original_images/test-image.png 
 ```

Zurück