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

My Annotations alert email being sent with 0 records #361

Closed
kylie-m opened this issue Jan 20, 2025 · 7 comments
Closed

My Annotations alert email being sent with 0 records #361

kylie-m opened this issue Jan 20, 2025 · 7 comments
Assignees
Labels
Milestone

Comments

@kylie-m
Copy link

kylie-m commented Jan 20, 2025

An ALA user has reported their My Annotations alert has arrived with 0 records - see screenshot below

Image

User support ref: https://support.ehelp.edu.au/a/tickets/223579

@qifeng-bai
Copy link
Contributor

Is it from Alerts-test?

@kylie-m
Copy link
Author

kylie-m commented Jan 20, 2025

It appears to be from production, the sent from email is [email protected], and this user doesn't have an ALA account on our test site

@qifeng-bai
Copy link
Contributor

qifeng-bai commented Jan 20, 2025

Found a few:

2025-01-20 11:00:03.456  INFO --- au.org.ala.alerts.EmailService           : Email with 0 record(s) sent for [2042]. My Annotations.
2025-01-20 11:00:18.739  INFO --- au.org.ala.alerts.EmailService           : Sending emails for My Annotations to [email protected]

@qifeng-bai
Copy link
Contributor

Linked to the issue: #330

@kylie-m
Copy link
Author

kylie-m commented Jan 20, 2025

Ok thanks! I just forwarded you an email with a similar one I received on Friday afternoon, in case it's helpful

Friday, 17 January 2025 at 3:46 pm
(sent to my csiro email address)

@kylie-m kylie-m added the bug label Jan 20, 2025
@qifeng-bai
Copy link
Contributor

qifeng-bai commented Jan 21, 2025

I have copied data from Prod to my local dev for testing. However, cannot reproduce it:

Image

@qifeng-bai qifeng-bai added this to the 4.4.2 milestone Jan 21, 2025
@qifeng-bai
Copy link
Contributor

This issue was caused by our legacy hasChanged method, which does not support MyAnnotations, although it works fine with other queries.

A patch has been applied to fix this issue.

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

No branches or pull requests

3 participants