Thanks Alvaro,
That's really helpful, and it certainly looks as if Geonetwork is selecting
multiple contentreviewers from the database. I'll look at the logging to
see if there's anything I can do to trace the process further. Sendmail
only seems to show one email being sent, but I'll keep looking.
Jo
On Tue, Aug 11, 2015 at 9:17 AM, Martín Oliva, Álvaro <a.martin@anonymised.com..1364...>
wrote:
Hi Jo,
In version 2.10.4 I think you are looking for the getContentReviewers
function in AccessManager.java. See
https://github.com/geonetwork/core-geonetwork/blob/2.10.4/web/src/main/java/org/fao/geonet/kernel/AccessManager.java#L434L444
It is being called by the informContentReviewers function in
DefaultStatusActions.java. See
https://github.com/geonetwork/core-geonetwork/blob/2.10.4/web/src/main/java/org/fao/geonet/services/metadata/DefaultStatusActions.java#L222
Hope it helps
Alvaro
--
Álvaro Martín Oliva
Nevintec Sistemas, S.L.
C/ Téllez, 30 - Oficina 2 - 2
28007 Madrid
Tlfno.: 91 221 10 60 / 91 221 09 10
http://www.nevintec.com
----- Original Message -----
From: "Jo Cook" <jocook@anonymised.com>
To: geonetwork-users@lists.sourceforge.net
Sent: Monday, August 10, 2015 6:40:12 PM
Subject: [GeoNetwork-users] Sending emails to multiple contentreviewers
Hi,
In Geonetwork 2.10.4 I'm getting reports that some contentreviewers are not
seeing workflow status emails. No errors are visible in the logs (for
geonetwork or sendmail) and I have confirmed that the address being used
works and that geonetwork can send emails to it.
One possible issue is that there are multiple contentreviewers for each
group. One of the contentreviewers definitely gets the emails. The other
does not. The mail log file suggest that only one email is being sent. I
would like to rule out the possibility that geonetwork is only sending one
email, eg to the first contentreviewer that it finds in the table.
I have been looking through the java code but I'm not very good at
following it. I've started with DefaultStatusActions.java and tried to work
from there, but I haven't seen anything that looks like a SQL query back to
the database to find the contentreviewers. I see there was an old bug about
the same problem but that it was fixed in 2.8/2.9.
I'd very much appreciate it if someone could point me at the bit of code
that does this, as I'd like to understand more and be able to debug the
code better myself in future. I'd also appreciate it if someone could
confirm one way or the other whether Geonetwork is sending out multiple
emails in these situations.
Many thanks
Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.