OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



OCS 2.3.3.1 - Reviewer cannot Edit or Delete comments

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

Moderators: jmacgreg, michael, John

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.

OCS 2.3.3.1 - Reviewer cannot Edit or Delete comments

Postby tantalocura » Wed May 18, 2011 5:51 am

Hi.
Login as reviewer, seeing Submission To Be Reviewed [ .../reviewer/viewPeerReviewComments/421/460 ]
Trying to Edit a comment (for author or for director) [ .../reviewer/editComment/421/99?reviewId=460 ], result:
Fatal error: Class 'HandlerValidatorSubmissionComment' not found in /var/www/ocs/pages/reviewer/SubmissionCommentsHandler.inc.php on line 86

Trying to Delete a comment (for author or for director) [ .../reviewer/deleteComment/421/99?reviewId=460 ], result:
Fatal error: Class 'HandlerValidatorSubmissionComment' not found in /var/www/ocs/pages/reviewer/SubmissionCommentsHandler.inc.php on line 145

For the moment I resolve the situation deleting comment's register on paper_comments table, and asking reviewer to write them again...
Does anyone know why this is happening ?
Thanks, Cheers, Luis.
tantalocura
 
Posts: 11
Joined: Mon Mar 07, 2011 7:00 pm

Re: OCS 2.3.3.1 - Reviewer cannot Edit or Delete comments

Postby asmecher » Wed May 18, 2011 7:45 am

Hi all,

See bug #6481, listed on our Recommended Patches list at http://pkp.sfu.ca/wiki/index.php/OCS_2.3.3-1_Recommended_Patches.

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

Re: OCS 2.3.3.1 - Reviewer cannot Edit or Delete comments

Postby ramon » Fri Jun 03, 2011 11:00 am

Hello all,

On my OCS 2.3.3-1 this patch did not apply.
My ocs2/classes/handler/Handler.inc.php states:
Code: Select all
import('handler.PKPHandler');
import('handler.validation.HandlerValidatorConference');
import('handler.validation.HandlerValidatorSchedConf');
import('handler.validation.HandlerValidatorRoles');


The patch files states:
Code: Select all
 import('lib.pkp.classes.handler.PKPHandler');
 import('classes.handler.validation.HandlerValidatorConference');
 import('classes.handler.validation.HandlerValidatorSchedConf');
+import('classes.handler.validation.HandlerValidatorSubmissionComment');


Maybe the additional role validation is throwing the patch file off?
Can I apply this manually?
ramon
 
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: OCS 2.3.3.1 - Reviewer cannot Edit or Delete comments

Postby jmacgreg » Tue Jun 07, 2011 11:31 am

Hi Ramon,

It looks like you are missing a previous patch or set of patches -- likely http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=5256. If you look at the history of Handler.inc.php here, you'll see that jerico modified Handler.inc.php in the following way. You'll need those changes added to the file for the patch to apply cleanly, but you should probably ensure that all relevant components of Bug 5256 (both lib-pkp and ocs) are applied. I'm not sure why Bug 5256 isn't listed on the Recommended Patches page; I'll ask Alec.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest