One-click review

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

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.
Posts: 29
Joined: Wed Jan 09, 2008 4:02 am

One-click review

Postby m.giordano » Mon Jan 21, 2008 10:51 am

Hi all,

we would like to enable one-click review as explained in page 35 of the manual, but even flagging the related option in the Setup->Review page, it doesn't seem to work: the reviewer receives a mail taken from the REVIEW_REQUEST template.

Then we tried a dirty trick to force the use of 'one click' template writing in line 240 of file the constant REVIEW_REQUEST_ONECLICK for both branches of conditional expression.
The result is that the one-click template is used, but the link in the mail doesn't seem to provide any credential, thus the login page is displayed.

Any suggestion?


Posts: 8
Joined: Thu Dec 20, 2007 7:23 am

Re: One-click review

Postby m.gori » Wed Jan 23, 2008 10:04 am

Hi guys,

eventually I could find where the problem is.. just a little bug, enough to virtually disable this feature though.

Inside "" - notifyReviewer function - at line 230 there was:

$reviewerAccessKeysEnabled = $conference->getSetting('reviewerAccessKeysEnabled');

where instead it should be:

$reviewerAccessKeysEnabled = $schedConf->getSetting('reviewerAccessKeysEnabled');

In other words, that line was telling the system to find a setting belonging to the general conference, whereas it actually belongs only to the specific scheduled one.
This meant that the real setting, in that context, was basically ignored and so the one-click feature could not work.

Same problem with remindReviewer, some lines below.
Now it works fine ... :mrgreen:

Hope this could help other guys and OCS developer as well, of course.


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

Re: One-click review

Postby jmacgreg » Wed Jan 23, 2008 10:26 am

Hi Marco,

Many thanks! I'll be passing this along.


Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest