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

Bug: Back button from an image page goes to wrong url #4065

Open
fbunoz opened this issue Sep 2, 2024 · 0 comments
Open

Bug: Back button from an image page goes to wrong url #4065

fbunoz opened this issue Sep 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fbunoz
Copy link
Contributor

fbunoz commented Sep 2, 2024

Describe the bug
After viewving an image page from the diaporama, if we want to return to the source document, we obtain a wrong url.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a route or outing page
  2. Click on the image to open the diaporama.
  3. Click on the eye button to open the image page.
  4. Click on the back button of the browser, to return to the route page.
  5. See the error in red box : "Request failed with status code 400."
    The error is caused by a wrong url : https://www.camptocamp.org/routes/54140/undefined/

Expected behavior
A right url can be :

Desktop

  • Device: PC
  • OS: Windows
  • Browser : Firefox 129.0.2, Edge 128.0.27...
@fbunoz fbunoz added the bug Something isn't working label Sep 2, 2024
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

No branches or pull requests

1 participant