Skip to content

Changing UI language after partial page load opens wrong page #1848

@osma

Description

@osma

URL address of the page where you encountered the problem

https://test.dev.finto.fi/yso/en/

Description of the problem

  1. Go to YSO vocab home page: https://test.dev.finto.fi/yso/en/
  2. Click on any concept in the alphabetical list, e.g. "aardvark" (this will perform a partial page load)
  3. Change the UI language to e.g. Finnish by clicking on the language name

This should stay on the same concept page but display it in Finnish. Instead it will take you back to the vocabulary home page (but in Finnish).

A similar bug happens when you start from one concept page (e.g. "aardvark") and switch to another concept using the hierarchy sidebar. If you then change the UI language, you will be back at "aardvark", not the concept you had switched to.

The problem seems to be that the language change links are not updated during partial page loads.

Additional information (e.g. screenshots) about the problem

The browser you used when the problem appeared

Firefox

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions