This issue has been created
 
 
XCarousel / cid:jira-generated-image-avatar-d9aa153b-49b1-4bad-bc4d-1c027e4abd6c XCAROUSEL-16 Open

Uploading and selecting a new image for a slide also replace every other slide's image

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a3ca6c33-efd9-4cf8-bf28-1e2207a74b13 Mathieu Pace created this issue on 07/Apr/26 16:34
 
Summary: Uploading and selecting a new image for a slide also replace every other slide's image
Issue Type: cid:jira-generated-image-avatar-d9aa153b-49b1-4bad-bc4d-1c027e4abd6c Bug
Affects Versions: 1.4
Assignee: Unassigned
Created: 07/Apr/26 16:34
Environment: XWiki 16.10.12
Priority: cid:jira-generated-image-static-major-bffc7141-b84c-4079-a81f-06c96492c9ad Major
Reporter: Mathieu Pace
Description:

Reproduction

  1. Have a carousel already set-up with 3 slides, each with a different image
  2. Edit that carousel
  3. On the first slide, click "Select an attachment"
  4. Browse to a new image (different from the 3 others), and select it
  5. Click "Upload and select"
  6. Save the page and close edition

Result

All the 3 slides display the image uploaded at step 4.

Expected result

Slide 1 should have the newly uploaded image from step 4. Slide 2 and slide 3's images shouldn't have been changed.

Additional note

This issue doesn't happen when selecting an already uploaded image.

Workaround

Upload the new image, and for every other slide select again the proper image (even if the preview displays the right one)