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

Cancel button in profile settinsg leads to 404 #171

Open
SarahW91 opened this issue Sep 27, 2024 · 1 comment
Open

Cancel button in profile settinsg leads to 404 #171

SarahW91 opened this issue Sep 27, 2024 · 1 comment

Comments

@SarahW91
Copy link

Package version (if known): 3.0.0

Describe the bug

Clicking on the "Cancel" button in the user profile form or preferences form leads to "account/settings" but this is not a valid view so a 404 error is shown.

Steps to Reproduce

  1. Go to /account/settings/profile
  2. Click on 'Cancel'
  3. See error 404 displayed because the URL "/account/settings/" has no view

Expected behavior

No error. Button leads back to the profile settings page with the original, unchanged settings.

Screenshots (if applicable)

image

Additional context

On the page "/account/settings/notifications/" the "Cancel" button leads back to "/account/settings/notifications/" without any error.

@Ducica
Copy link

Ducica commented Jan 7, 2025

@zzacharo @ntarocco Hello, I've made a PR for this problem https://github.com/inveniosoftware/invenio-userprofiles/pull/175/files. If it would be possible please take a look. Thank you and have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants