OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



email notification bug

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

email notification bug

Postby barbarah » Thu Jul 05, 2012 5:08 pm

Hi all,

We are experiencing a bug when notification emails get sent to an OJS. For example, an editor has signed up via the 'Notifications' link in the side menu to receive email when the metadata for an article is changed. The editor gets this email, but the subject is "[journalPath] Array" and the body of the email is blank, with the generic footer at the bottom.

Is anybody else experiencing this issue or have any advice?

Thanks,
Barbara
---
Barbara Hui
California Digital Library
http://cdlib.org
barbarah
 
Posts: 27
Joined: Thu Mar 24, 2011 1:25 pm
Location: California Digital Library, Oakland, California

Re: email notification bug

Postby nil » Fri Jul 13, 2012 8:55 am

I am experiencing the same issue, and could not find any help in the forum or bug tracking system.

I use OJS 2.3.7, PHP 5.3.3, on Debian 6.0 "squeeze"
nil
 
Posts: 1
Joined: Fri Jul 13, 2012 8:45 am

Re: email notification bug

Postby barbarah » Wed Aug 08, 2012 1:36 pm

Filed this in Bugzilla: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7763
Please check there for updates.
barbarah
 
Posts: 27
Joined: Thu Mar 24, 2011 1:25 pm
Location: California Digital Library, Oakland, California

Re: email notification bug

Postby barbarah » Thu Aug 09, 2012 11:03 am

Fixed by Alec Smecher (thanks!). See patch against bug 7763 linked here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7763#c5
barbarah
 
Posts: 27
Joined: Thu Mar 24, 2011 1:25 pm
Location: California Digital Library, Oakland, California

Re: email notification bug

Postby riccardo » Fri Feb 07, 2014 7:03 am

We have the same problem using OJS 2.4.2. The code in PKPNotificationManager.inc.php seems to be updated.
But I do not find the NOTIFICATION email template in the "Prepared Emails", as requested here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7763#c1.
After I created the NOTIFICATION email in the "Prepared Emails", it is sent when article metadata are modified but variables like "{$authorName}" are not resolved. Did I miss something? Or, best solution, there is somewhere an official NOTIFICATION template?
Thank you
riccardo
 
Posts: 2
Joined: Fri Feb 04, 2011 5:29 am

Re: email notification bug

Postby asmecher » Fri Feb 07, 2014 10:50 am

Hi riccardo,

The email template for NOTIFICATION is by default:
Code: Select all
You have a new notification from {$siteTitle}:

{$notificationContents}

Link: {$url}

{$principalContactSignature}
You can get this from locale/en_US/emailTemplates.xml (for English).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests