Logging out should not fail if we are already logged out
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
Piste de recherche
The report points to the login call using the assertuser option, but names no source file or test. Start by tracing the logout and login handling for Wikidata and find where an expired session causes the action to fail. Done means logging out after the session expires lets the app return to a state where the user can log in again.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Originally posted at https://github.com/OpenRefine/OpenRefine/issues/2873 by @addshore
Describe the bug
If I am logged into wikidata, but my session expires or I get logged out for some reason I can not use the log out button in the app.
Current Results
When I do click logout I see the following in the console and the app continues to think that I am logged in.
17:33:56.920 [ refine] GET /command/wikidata/login (9487ms)
17:33:56.948 [ refine] POST /command/core/get-all-preferences (28ms)
17:33:58.792 [ refine] GET /command/core/get-csrf-token (1844ms)
17:33:58.807 [ refine] POST /command/wikidata/login (15ms)
17:33:59.078 [ connection_mananger] [assertuserfailed] You are no longer logged in, so the action could not be completed. (271ms)
This is probably due to the assertuser option being used for this login call?
Expected behaviour
Clicking the logout button in this situation should detect that I am no longer logged in and thus allow me to re login to the app.
Screenshots
Stuck here in the app, can not log out

Desktop:
- OS: Windows 10
- Browser Version: Firefox 76.0.1 (64-bit)
- JRE or JDK Version:
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
OpenRefine :
- Version 3.3
- Langage dominant
- Java
- Étoiles
- 412
- Forks
- 116
- Merge moyen
- 3 j 23 h
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Wikidata-Toolkit/Wikidata-Toolkit
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Wikidata-Toolkit/Wikidata-Toolkit#1029 ·
-
Invalid CSRF tokenOuverte
Difficulté 4/5 1-2 jours Accessibilité débutants 45/100
Wikidata-Toolkit/Wikidata-Toolkit#1009 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 54/100
Wikidata-Toolkit/Wikidata-Toolkit#1004 · 1 commentaire · 1 réaction ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
Wikidata-Toolkit/Wikidata-Toolkit#848 · 1 réaction ·
Toutes les issues de Wikidata-Toolkit/Wikidata-Toolkit
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
tchiotludo/akhq#3438 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#266 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
ome/bioformats#4509 ·
Les mainteneurs répondent en général sous 2 jours
-
module/email Type/Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
ballerina-platform/ballerina-library#9758 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Azure/azure-functions-java-worker#909 · 1 réaction ·