dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
845 stars 465 forks source link

UVE: Image management issue with language toggle for secondary languages #29851

Open dcolina opened 1 week ago

dcolina commented 1 week ago

Parent Issue

No parent issue identified.

Problem Statement

There is an error when using the language toggle to manage images for a secondary language. For example, in the case of the "banner" content type, when an image is added to the primary language, it displays correctly. However, when an image is added to a secondary language, it does not appear. Although switching between pages works correctly, there is a bug in managing the image for the secondary language. This issue occurs consistently across all three supported browsers: Chrome, Firefox, and Edge.

Steps to Reproduce

  1. Deploy the dotCMS instance using the Docker image dotcms/dotcms:trunk_fbad538.
  2. Open the dotCMS instance.
  3. Navigate to a "banner" content type and add an image in the primary language.
  4. Verify that the image displays correctly.
  5. Switch to a secondary language using the language toggle.
  6. Add an image for the secondary language.
  7. Observe that the image does not display.

Acceptance Criteria

  1. When adding an image to a secondary language for a content type (e.g., "banner"), the image should:
    • Display correctly in the secondary language view.
    • Be managed properly without any errors or discrepancies between languages.
    • Ensure that the language toggle functionality works seamlessly with images.

dotCMS Version

Tested with Docker image dotcms/dotcms:trunk_fbad538.

Proposed Objective

User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://github.com/user-attachments/assets/7932ef5b-c45e-4d1a-888e-1a1a8acc2335

Assumptions & Initiation Needs

  1. Ensure that the environment is set up to manage multiple languages.
  2. Confirm that the content type ("banner") and images are available for testing in multiple languages.

Quality Assurance Notes & Workarounds

No workaround is currently available. The issue persists when attempting to manage images for secondary languages.

Sub-Tasks & Estimates

fmontes commented 1 week ago

Probably something in our example image component, please check in Angular and Astro as well.

nollymar commented 1 week ago

Note to QA: Please, additionally test case # 30 of the Regression Tests spreadsheet