Thanks Ivan
By comparing the original forms I see a difference. In the original template
the code {1} is for the name of the collection; in our customized file it was
meant to be Title of Submission.
I will have to check with @mire because it seems that our customization wasn't
ported properly from previous 1.6 to 1.8
Thanks for the clarifications
Rodrigo
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: Tuesday, September 17, 2013 2:03 PM
To: Calloni, Rodrigo
Cc: [email protected]
Subject: Re: [Dspace-tech] DSpace e-mail templates
On Tue, Sep 17, 2013 at 5:47 PM, Calloni, Rodrigo <[email protected]> wrote:
> I wonder if there were changes to the e-mail templates from 1.6 to
> 1.8. The submit_task file on my dspace/config/email directory has some
> tags to bring content to the e-mail message but it is bringing the
> wrong data now that we upgraded. Here is how the template looks like:
Hi Rodrigo,
no, there were no changes in this template between 1.6 and 1.8:
https://github.com/DSpace/DSpace/blob/dspace-1_6_x/dspace/config/emails/submit_task
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace/config/emails/submit_task
So the added parameter must be your customization. Depending on whether you use
the traditional workflow or XMLWorkflow, check the following files for
arguments.
The addArgument() calls in worflow:
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java#L947
The array of parameters to this call in XMLWorkflow:
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/xmlworkflow/state/actions/userassignment/ClaimAction.java#L67
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/xmlworkflow/state/actions/userassignment/AssignOriginalSubmitterAction.java#L66
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette