Hi,
     Occasionally I'll come across a "bug" or problem with the DSpace software 
that I correct, but I've never submitted any of these changes to the DSpace 
developers and, for that matter, I don't really know what the procedure for 
this would be.

     For instance, I just found a small problem with "Subscribe.java" as 
follows:  The emails that are generated by script "sub-daily" notify anyone who 
is subscribed to a particular collection about any new Items that were added to 
that collection the previous day.  Within those emails are lists of new Items 
including the "ID:" or url of these new Items.  The urls should have been links 
in the emails, but due to the fact that there was not a space left between the 
url field label ("ID:") and the actual url, the Item urls were not appearing in 
the emails as links.  I made the following change to "Subscribe.java" that 
added a space after the label so that the urls will now appear as hyperlinks in 
the emails:

.
.
.
public static void sendEmail(Context context, EPerson eperson,
            List collections, boolean test) throws IOException, 
MessagingException,
            SQLException
{
.
.
.
emailText.append("\n         
").append(labels.getString("org.dspace.eperson.Subscribe.id")).append(
                                 // SMWT - 05/26/2010 - Change begins
                                 " ").append(
                                 // SMWT - 05/26/2010 - Change ends
                                 
HandleManager.getCanonicalForm(hii.handle)).append(
                                "\n\n");
.
.
.

     Can someone tell me if this kind of code modification should be submitted 
somewhere and, if so, what the proper procedures are?

Thanks,
Sue




Sue Walker-Thornton
NASA Langley Research Center
Integrated Library Systems
Developer, Application & Database Administrator
ConITS Contract ~ NCI Information Systems, Inc.
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074 ~ Mobile: (757) 506-9903 ~ Fax: (757) 224-4001
email:  susan.m.thorn...@nasa.gov<mailto:susan.m.thorn...@nasa.gov>

<<inline: image001.gif>>

------------------------------------------------------------------------------

_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel
  • [Dspac... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Reply via email to