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

Trying to register an already registered HydroShare resource shows misleading error message #128

Open
Maurier opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Maurier
Copy link
Member

Maurier commented Jun 27, 2024

Description of the bug

DSP incorrectly states that it cannot find a HydroShare resource I’m trying to register. I tried to register this resource: https://www.hydroshare.org/resource/ffb417acb8bb4fdda660d8756b38b4cd/. It has already been registered by someone else, so I should be getting a message stating that the resource has already been registered rather than a message stating that the resource cannot be found. It’s a valid HydroShare resource.

Steps to reproduce the bug:

  1. Go to Register Dataset page.
  2. Try to register the an already registered HydroShare resource.
  3. See misleading error message stating that the resource cannot be found.

Expected behavior
The error message should read "This resource has already been registered".

@Maurier Maurier added the bug Something isn't working label Jun 27, 2024
@Maurier Maurier self-assigned this Jun 27, 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