Skip to content

Language selection in Updater no longer works #20960

@sgiehl

Description

@sgiehl

Context

When a database update is required Matomo displays an update screen. By default the screen uses the browser language.

There is also a language drop down, which should allow to change the language of the screen.

image

Selecting another language, currently tries to save the selected language by posting a form to index.php?module=LanguagesManager&action=saveLanguage

As the updater might be performed without a session or login, this can result in an error screen, asking to login.

image

Expected Behavior

The language of the update screen can simply be changed by using the parameter &language=XX, so when choosing another language the parameter in url should be change/added.

Steps to Reproduce (for Bugs)

  1. Force update screen to display by changing the option value for version_Core to a value like 4.14.0
  2. Open Matomo
  3. Try to select another language

Your Environment

  • Matomo Version: 5.0.0-b4
  • PHP Version: 7.2
  • Server Operating System: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions