SuluArticleBundle icon indicating copy to clipboard operation
SuluArticleBundle copied to clipboard

Rename "shadowLocale" to "shadowBaseLocale".

Open Quehnie opened this issue 3 years ago • 0 comments

Q A
Bug? no
New Feature? no
SuluArticleBundle Version 2.3.0
Sulu Version 2.3.0

Actual Behavior

There is a different variable naming for pages and articles with activated shadowLocale / shadowBaseLocale.

Expected Behavior

Use the same variable name (because canonical-tag is influenced by it)

Steps to Reproduce

Create a page and an article with Shadow-pages and check the shadowBaseLocale variable.

Possible Solutions

A quickfix is to default the variable like shadowBaseLocale|default(shadowLocale|default())

Quehnie avatar May 31 '21 15:05 Quehnie