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

User IDs other than the original not recognized by RSS Export Feed #4916

Closed
combs-a opened this issue May 13, 2024 · 3 comments
Closed

User IDs other than the original not recognized by RSS Export Feed #4916

combs-a opened this issue May 13, 2024 · 3 comments
Labels
1 - Bug Incorrect behavior of the product 2 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc. todo:verify Needs Verification
Milestone

Comments

@combs-a
Copy link
Collaborator

combs-a commented May 13, 2024

Describe the bug
Updating the RSS feed on certain databases and on certain accounts gives an error saying that the user does not exist. The original user ID attached to the RSS Export Feed was 30 when first looking at the database, which is Susie Ross. After making an account with this agent, it seems that the RSS feed only works when this user's ID is inputted, and sends the notification to whichever user you're logged in as.

To Reproduce
Steps to reproduce the behavior:

  1. Open the herb_rbge_2_5_2024 database and log in as spadmin.
  2. Go to App Resources -> RSS Feed -> XML editor and set userId and notifyUserId to 28754 (ID for the agent connected to spadmin)
  3. Try and update the RSS feed.
  4. See that you get an error that "Specifyuser doesn't exist".

Next steps are to validate that this does work for other original IDs:

  1. Go to App Resources -> RSS Feed -> XML editor and change userId and notifyUserId to 30 (ID for the agent connected to sross)
  2. Try and update the RSS feed.
  3. See that you get a notification (may take a while).
  4. Repeat steps 5-7 while logged in as sross.

Expected behavior
The RSS feed should probably send the notification to the userId specified, and the error shouldn't be Specifyuser doesn't exist if there was an issue, since the user clearly does exist.

If userId and notifyUserId aren't used to determine which account the notification is sent to, it's very confusing what they're meant for--if this is expected behavior this may need to be clarified. Currently it seems like you should be able to change this and have it refer to another

Screenshots

RSS Export Feed code used:

<channel>
	<title>Test</title>
	<description>Test</description>
	<item collectionId="4" userId="28754" notifyUserId="28754" definition="DwCA_RBGE" metadata="DwCA_Metadata" days="7" filename="herb.zip" publish="true">
		<title>Herb RBGE RSS Feed</title>
		<id>ba7b743e-3263-4016-aebf-995f0d6a6e19</id>
	</item>
</channel>

(Since the export sometimes takes awhile to load, a video is a bit impractical--I can provide one if necessary)

Crash Report

Error message:
ekPk1gGk.txt

  • OS: Windows 10
  • Browser: Firefox
  • Specify 7 Version: edge
  • Database Name: herb_rbge_2_5_2024
  • Collection name: Herbarium
  • User Name: spadmin
@combs-a combs-a added 1 - Bug Incorrect behavior of the product 2 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc. labels May 13, 2024
@combs-a combs-a added this to the 7.9.x milestone May 13, 2024
@combs-a combs-a changed the title User IDs other than the original creator not recognized by RSS Export Feed User IDs other than the original not recognized by RSS Export Feed May 13, 2024
@CarolineDenis
Copy link
Contributor

@combs-a ,
Could you verify that it's still an issue in #4660 ?
Thanks!

@CarolineDenis CarolineDenis added the todo:verify Needs Verification label May 23, 2024
@combs-a
Copy link
Collaborator Author

combs-a commented May 23, 2024

Tried following my test instructions, and I ran into an error 404 page after editing the XML. I can't seem to open it back up and edit it again. Unsure what the problem is, but I think that this may also be the root of an issue I found in KUVertPaleo_5_6_2024 where opening its RSS feed led to a 404 page.

23_404rss.mp4

@combs-a
Copy link
Collaborator Author

combs-a commented May 27, 2024

Figured out the problem with it, it was user error and not realizing you had to use Specify User ID and not the ID of the agent associated with the user. Opening a new issue for the 404 now.

@combs-a combs-a closed this as completed May 27, 2024
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 - Exporting Data Issues that are related to exporting data to DwC, GBIF, IPT, Web Portal, etc. todo:verify Needs Verification
Projects
None yet
Development

No branches or pull requests

2 participants