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

RSS Export Feed directs to an Error 404 page if userId or notifyUser values are invalid #4955

Closed
combs-a opened this issue May 27, 2024 · 2 comments · Fixed by #5042
Closed
Assignees
Labels
1 - Bug Incorrect behavior of the product 2 - App Resources Issues that are related to app resources 2 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc.
Milestone

Comments

@combs-a
Copy link
Collaborator

combs-a commented May 27, 2024

Describe the bug
When you put in an invalid ID into the userId or notifyUser fields for an RSS Export Feed using the XML editor, opening it again afterwards directs to an error 404 page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to App Resources -> Create a new/open an RSS Export Feed -> Switch to XML Editor.
  2. Change the userId or notifyUser values to an invalid one (one that does not match any Specify User) and save.
  3. Navigate away from the RSS Feed and then reopen it.
  4. See 404 error.

Expected behavior
There should not be an error 404 page, since this prevents even being able to fix the RSS feed.

Screenshots

27_RSS404.mp4
  • OS: Windows 10
  • Browser: Firefox
  • Specify 7 Version: edge
  • Database Name: sdnhm_herps_2_8_24
  • Collection name: Herp-PC
  • User Name: testuser

Additional context
This is a new issue due to the visual RSS feed; it's likely trying to find a user that doesn't exist for the "Run as user" and "Send completion notification to user" fields, and since it cannot, it goes to an error 404.

If you need to delete the files for testing purposes, you can switch the database to v7.9.5 or do it from the back end.

@combs-a combs-a added 1 - Bug Incorrect behavior of the product 2 - App Resources Issues that are related to app resources 2 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc. labels May 27, 2024
@combs-a combs-a added this to the 7.9.6 milestone May 27, 2024
@CarolineDenis CarolineDenis modified the milestones: 7.9.6, 7.9.7 May 28, 2024
@emenslin
Copy link
Collaborator

Wanted to also note that if you do modify the xml to break the export feed you also cannot create a new one since it is trying to use the already existing one as the base as you can see in the background before the 404 error.

XGxaantbMQ.mp4

@sharadsw sharadsw self-assigned this Jun 5, 2024
@sharadsw
Copy link
Contributor

sharadsw commented Jun 14, 2024

Unable to reproduce this locally. There's no 404 error for me and only a dismissible error instead and so users can change the value back to a valid one. Can someone verify? @specify/ux-testing
Nevermind, looks like 404 only happens in a production environment
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product 2 - App Resources Issues that are related to app resources 2 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants