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
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

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: 8305
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: 926
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: 4181
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests