Skip to content

Fallback languages are not correctly used in the hierarchy view #717

@henriyli

Description

@henriyli

At which URL did you encounter the problem?

http://dev.finto.fi/hero/fi/page/p1535?clang=sv

What steps will reproduce the problem?

  1. Open the above URL

What is the expected output? What do you see instead?

Expected to see consistent fallback labels (in the same language) for the hierarchy view. However, each label seems to fallback to a random language.

This happens as the REST hierarchy query currently supports only using a single fallback. It should be refactored to support queries with a list of prioritized fallback languages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions