FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
190 stars 229 forks source link

BUG: Breaking change for flagSrc and unexpected value (LanguageMenu) #1890

Open gtitze opened 7 months ago

gtitze commented 7 months ago

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

  1. Use LanguageMenuViewHelper with layout flag for v7.0.1 oder dev-development
  2. 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.