Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur de routing vers la page mon profil depuis un profil d'utilisateur #1262

Closed
nantralplatform-bot opened this issue Jan 5, 2025 · 2 comments · Fixed by #1266
Closed
Labels
bug Something isn't working

Comments

@nantralplatform-bot
Copy link
Collaborator

Description du bug

Lorsque l'on est sur la page d'un membre et que l'on souhaite accéder à son profil depuis l'icône en haut à droite, la redirection est faite vers https://nantral-platform.fr/student/-1 au lieu de https://nantral-platform.fr/student/2801. Une erreur  404 s'affiche alors.

Comment le reproduire

  1. Accéder au profil d'un utilisateur
  2. Accéder à son propre profil depuis le bouton Mon profil dans le menu déroulant en haut à droite

Comportement attendu

Redirection vers son propre profil

Informations sur l'appareil

  • Système (Android, Windows...) : Windows
  • Navigateur (Chrome, Safari, App Nantral Platform) : Chrome

 

Voir l'auteur sur Nantral Platform

@nantralplatform-bot nantralplatform-bot added the bug Something isn't working label Jan 5, 2025
@pisteuralpin
Copy link

Le problème semble venir du traitement de la requête /api/student/student/me. Celle ci renvoie bien la bonne réponse mais celle ci n'est pas traitée au niveau du menu déroulant : photo de profil, id dans le lien etc

@hydrielax
Copy link
Member

Bien vu, fix dans #1266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants