Translation for alert banner not displaying

Created on 13 March 2024, 8 months ago
Updated 7 June 2024, 6 months ago

Problem/Motivation

Translations of alert banners are not being displayed.

Steps to reproduce

1. Create a new alert banner in English and publish it.
2. Translate it to a different language.
3. Specify in which pages the banner should be displayed.
4. Publish it.

Expected result: The original banner will be displayed in the English pages and so will be the translation in the language specific pages.
Actual result: Only the original banner is displayed.

This happens because AlertBannerEntity::isVisible() is considering the conditions of the original banner, not the translation's.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇷Brazil adinancenci

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024