new Dspace 7.6. email templates result in empty subject when sending emails

180 views
Skip to first unread message

Christiane Baier

unread,
Oct 19, 2023, 9:26:44 AM10/19/23
to DSpace Technical Support
Hi there,

we upgraded our Dspace7.5 Testsystem to Dspace 7.6. 
We have a local.cfg in which the property is set to
dspace.name = DSpace 7 Testinstanz

What I noticed after the upgrade: emails are send with an empty subject.
the emails templates in dspace/config/emails changed with Dspace 7.6 we didn't make any changes yet. 

For example in the feedback template there is now the line

#set($subject = "${config.get('dspace.name')}: Feedback Form Information")

and further in the text
The ${config.get('dspace.name')} Team

The received email has an empty subject but a correct
The DSpace 7 Testinstanz Team

the dspace.name value from the local.cfg is taken. It shows up in the angualr Interface too. But I have no clue, why it generates empty subjects when sending emails.

Anybody else having this problems?
Kind Regards
Christiane

Keith Gilbertson

unread,
Oct 19, 2023, 11:14:41 AM10/19/23
to Christiane Baier, DSpace Technical Support

Christiane: 

This is a known bug in DSpace 7.6. It was reported here: https://github.com/DSpace/DSpace/issues/8921

A fix, and related improvements, have been merged into the codebase to be included with the next release:

We were able to patch our 7.6 dev instance (we're not running DSpace 7 in production just yet) by applying Mark Wood's commit fixing the original issue (https://github.com/DSpace/DSpace/pull/8922/commits/a30454ca5a523c532e353a63270bb5a32fbd3e70) to our local code repository, and then rebuilding the server components and redeploying the web app.

-- Keith



Christiane Baier

unread,
Oct 20, 2023, 12:49:21 AM10/20/23
to DSpace Technical Support
Thank you Keith. 
It helps a lot to know, that it isn't a configuration issue. Saves me a lot of search time.

Kind Regards
Christiane

Reply all
Reply to author
Forward
0 new messages