On Tue, 2007-04-03 at 10:54 +0100, Michael White wrote:
> Hi Bjorn,

Hello Michael,

> 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,

Brilliant! Thanks a lot for that! Just done the change myself and it
works fine. 

> 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 . . . .

We are still on 1.3.2 in our live installation, but this was for our
test 1.4.1 one.
And yeah, I had to do the same thing - both the ItemTag.java and the
BitStreamServlet.java was old versions so some manual copy and past was
required.
Depending on when you downloaded the add-on, you may also have found
that some of the entries for the add-on in Messages.properties were
missing? I had the complete version sent from Minho, and they said they
would update the tar-ball on the wiki.

Thanks for your help and have a fab Easter

Kind regards
Bjorn

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to