Hi Bjorn,

I've been trawling through the Request Copy addon source code and have
found the source of the problem that was preventing us from receiving
the "Request item be made Open Access" administrator emails.

The problem was line 473 of "RequestItemServlet.java"
([dspace-src]/src/pt/uminho/sdum/dspace/requestItem/servlet/RequestItemS
ervlet.java) which was set to use the "mail.from.address" rather than
"mail.admin" (and as our "mail.from.address" is a 'dud' address,
messages just disappeared down a black hole).

Changing line 473 to:

adm.setField(email.FIELD_TO,
ConfigurationManager.getProperty("mail.admin"));

- appears to have fixed the problem for me.

I hope that helps,

Mike

P.S. What version of DSpace are you using? I was initially unable to
compile this addon with v1.4.1 due to uncaught exceptions in one of the
DSpace servlets that the addon replaced (ItemTag.java or
BitstreamServlet.java, can't remember which now) - on closer inspection
I realised that the addon was using older versions of these servlets
(the later version in DSpace v1.4.1 appeared to have significant
differences), so I ended up going through the addon versions of the
servlets and copying over the addon code to the DSpace v1.4.1 versions -
it all appears to be working fine now, but I wondered if this was "just
me" or if it was something that others ought to look out for . . . .

Michael White 
eLearning Developer
Centre for eLearning Development (CeLD) 
S7, The Library 
University of Stirling 
Stirling SCOTLAND 
FK9 4LA 

Email: [EMAIL PROTECTED] 
Tel: +44 (0) 1786 466877 
Fax: +44 (0) 1786 466880 

http://www.is.stir.ac.uk/celd/


-- 
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA.  Privileged/Confidential Information may
be contained in this message.  If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.  In such case, you should destroy this
message and kindly notify the sender by reply email.  Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to