core icon indicating copy to clipboard operation
core copied to clipboard

UVE: Image management issue with language toggle for secondary languages

Open dcolina opened this issue 5 months ago • 2 comments

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.

  • Attached video showing the issue with image management when switching languages.

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

  • [ ] Investigate the cause of the image not displaying when added to a secondary language.
  • [ ] Identify and implement a fix to ensure images are managed correctly across all languages.
  • [ ] Test the fix across all supported browsers: Chrome, Firefox, and Edge.

dcolina avatar Sep 03 '24 16:09 dcolina