Skip to content

Incorrect Icon translation on course search #2559

@igobranco

Description

@igobranco

Bug Report

Problematic Behavior
When a course page has an Icon (Category), but a single translation, example the course has only text on Portuguese but not on English.
On course search screen the Icon shows only on Portuguese.
Even that Icon (Category) is published on both Portuguese and English.

This bug only happens on course glimpse (cover) on react implementation, but not on the django based implementation.

Expected behavior/code
A clear and concise description of what you expected to happen (or code).

Steps to Reproduce

  1. Create a course page with just PT/FR translation
  2. Add an Icon (Category) to the course page
  3. Publish the course page
  4. View Richie using EN locale
  5. Go to course search and find that course
  6. You should see the Icon translation on PT/FR instead of EN locale

Environment

  • Richie version: 2.28.0

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

image

Temporary fix
To mitigate this situation what can be done, is to publish an almost empty translation for the course that includes just the same Icon (Category).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions