sulu / SuluArticleBundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system
MIT License
52 stars 77 forks source link

Rename "shadowLocale" to "shadowBaseLocale". #579

Open Quehnie opened 3 years ago

Quehnie commented 3 years ago
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())