Details
-
Bug
-
Resolution: Fixed
-
High
-
4.5.0, 4.6.0, 4.7.0, 5.0, 5.1, 5.2, 5.3-dev
Description
eZ Flow blocks will ignore the existent translations and focus instead on objects, retrieving the wrong content.
STEPS TO REPRODUCE
- Create a LATEST CONTENT BLOCK in FRONTPAGE.
- Create two site access for two different languages:
English and Portuguese.
- In he Portuguese site access
- In
[RegionalSettings]
- Comment out
SiteLanguageList[]=eng-GB
so it displays only Portuguese content.
- Create FOLDER #001 and for English Articles under it:
ARTICLE #001, ARTICLE #002, ARTICLE #003, ARTICLE #004. - Add FOLDER #001 to source in LATEST CONTENT BLOCK. Set article as class to retrieve.
- Run ezflow cronjob
- Check frontpage.
Four articles in English siteaccess
No article in Portuguese siteaccess - Add a Portuguese translation for ARTICLE #001 and ARTICLE#002_.
- Run ezflow cronjob
- Check frontpage.
Four articles in English siteaccess
Two articles in Portuguese siteaccess
Latest content should retrieve the latest content but, in this case, the latest content should be language based not object based since in a multi-language siteaccess only one language may exist, meaning that other objects do not exist for that siteaccess.
Of course, if a siteaccess has more than one language, it's ok to remove the lastest objects for more than one language.
Attachments
Issue Links
- relates to
-
EZP-22118 ezflow blocks display empty spaces if missing object translations
- Closed