vhs
vhs copied to clipboard
BUG: Breaking change for flagSrc and unexpected value (LanguageMenu)
I have checked that the bug exists in the dev-development
branch
Yes.
I have checked that there are no already open issues or recently closed issues about this bug Yes.
Describe the bug
Variable flagSrc
for a language rendered by the LanguageMenuViewHelper
does not contain the src of the image (anymore).
Until version v6.0.5
(and still in December 2021 on the development branch working fine for v11
), the variable flagSrc
of every language returned the src of the flag image which could then be used to render the image. Since commit ca9bbe4b26d835925c89cea7723662c27050373a, the variable containes the HTML code of the rendered image.
To Reproduce
- Use
LanguageMenuViewHelper
with layout flag forv7.0.1
oderdev-development
- Inspect the variable
flagSrc
of any language item
Expected behavior I would expect to get the actual image path from this variable, as it was before, and I could not find any documentation underlining that this change was intended.