-
Notifications
You must be signed in to change notification settings - Fork 103
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
Error emails to listmaster from repeated set_netidtoemail_db calls #1163
Comments
@dpc22 , could you please let us know what RDBMS are you using? |
PostgreSQL. Specifically postgresql-9.2.24-4.el7_8.x86_64, which is what RHEL 7 provides right now. |
ikedas
added a commit
to ikedas/sympa
that referenced
this issue
May 15, 2021
@dpc22, could you please check this patch ? Thank you. |
Yes, I think that has fixed it. Thanks. |
Oops: clicked the wrong button and closed the ticket before the patch was committed |
ikedas
added a commit
that referenced
this issue
May 17, 2021
Error emails to listmaster from repeated set_netidtoemail_db calls (#1163)
@dpc22, thank you for reporting bug and confirming fixes! |
ikedas
added a commit
to ikedas/sympa
that referenced
this issue
Nov 6, 2021
(See also a fix to issue sympa-community#1163).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
6.2.62
Installation method
My own rpm, derived from "official" source RPM for RHEL 7.
Expected behavior
We have SSO (Shibboleth) enabled for our Sympa installation. This should not generate spurious emails to listmaster of the form:
Actual behavior
Once in a while someone manages to generate two separate confirmmail emails with different ticket numbers when attempting to create a new account on Sympa. I infer that they are either looking at the same page in two different browers or (more likely) opening links in new browser tabs:
If they click on both confirmemail links:
listmaster receives an error email as indicated above. The Sympa logs reveal:
The user also sees an error in wwsympa but everything works fine if they just try to log in with the newly created account.
Additional information
This would appear to be down to lib/Sympa/Robot.pm set_netidtoemail_db (or something calling that function) failing to check whether a row already exists in the netidmap_table. Replacing:
with:
would presumably stop the noise to listmaster, but the error would still be there.
The text was updated successfully, but these errors were encountered: