Page MenuHomePhabricator

New users cannot open Record Wizard
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Using an account with no previous contribution to Lingua Libre.
  • Open [[:lingualibre:Special:RecordWizard]]

What happens?:
The whole Record wizard freezes :

image.png (696×2 px, 72 KB)

Console error :

image.png (858×1 px, 320 KB)

What should have happened instead?:
Step 1 should open.

Software version : n.a.

Other information (browser name/version, screenshots, etc.): n.a.

Reported by: two new users who are unable to open the Record wizard, but able to contribute on wikipages.
https://lingualibre.org/wiki/Special:Contributions/Rémi_sim
https://lingualibre.org/wiki/Special:Contributions/Gamma_Corvi

Event Timeline

Yug triaged this task as High priority.Apr 24 2023, 12:40 PM
Yug created this task.
0x010C claimed this task.
0x010C subscribed.

Fixed in commit e6d42901.

My previous bugfix (T316104) was assuming that the global "language" var was set, which was not the case for user with no default language saved in their parameters (aka users who had never used the RecordWizard before).
After some code refactoring/cleaning, now as soon as the "details" step is shown, this global var will always be correctly set so any other part of the RecordWizard can rely on it.