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
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.
I am trying to customize the email template for reinviting a reviewer for a second review round
However, saving the custom email template fails (on first save, it is simply not being picked up because of the wrong key, on the second save, it then complains about a duplicate key).
It seems that the email_key is more than 30 characters long and is thus truncated to REVIEW_REQUEST_ONECLICK_SUBSEQ
I think that the underlying problem is that in the following 3 tables
the email_key is only 30 characters longs, whereas in
email_templates_default_data the email_key is 64 characters long?
I have for the moment changed the default email template in the database directly, but I suppose that the real solution for this problem is to set all 4 email_key fields to varchar(64) ?
- Posts: 17
- Joined: Thu Mar 16, 2006 12:16 am
You're correct -- all 4 of those fields should be 64 characters in length. I've filed this as http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8135
, but meanwhile, if you extend the length of those fields directly in the database you should be OK. No code changes are necessary.
Public Knowledge Project Team
- Posts: 10015
- Joined: Wed Aug 10, 2005 12:56 pm
Return to OJS Technical Support
Who is online
Users browsing this forum: Exabot [Bot] and 2 guests