Bug 5787 - 404 when clicking Complete or Remove buttons
404 when clicking Complete or Remove buttons
Status: RESOLVED FIXED
Product: OCS
Classification: Unclassified
Component: Review
2.3.4
PC Mac OS X 10.6
: P5 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-20 08:31 PDT by James MacGregor
Modified: 2011-02-07 12:04 PST (History)
2 users (show)

See Also:
Version Reported In:
Also Affects: OCS 2.3.3


Attachments
Patch against OCS 2.3.3-1 (1.22 KB, patch)
2010-08-20 13:49 PDT, Alec Smecher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2010-08-20 08:31:52 PDT
I get a 404 error when as a Track Director I click the "Complete" button from a submission abstract review page, for the following page (Abstracts only):

http://git/ocs/index.php/one/schedone/trackDirector/submissions/submissionsAccepted

I also get the following in the error log: 

[Fri Aug 20 12:27:17 2010] [error] [client 127.0.0.1] NOTICE: Use of undefined constant HANDLER_CLASS - assumed 'HANDLER_CLASS' (/Users/jmacgreg/git/ocs/lib/pkp/classes/core/PKPPageRouter.inc.php:164)
[Fri Aug 20 12:27:17 2010] [error] [client 127.0.0.1] ocs2 has produced an error\n  Message: WARNING: array_map(): Argument #2 should be an array\n  In file: /Users/jmacgreg/git/ocs/lib/pkp/classes/core/PKPPageRouter.inc.php\n  At line: 164\n  Stacktrace: \n  Server info:\n   OS: Darwin\n   PHP Version: 5.3.1\n   Apache Version: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1 mod_fastcgi/2.4.2\n   DB Driver: mysql\n   DB server version: 5.1.38
[Fri Aug 20 12:27:17 2010] [error] [client 127.0.0.1] ocs2 has produced an error\n  Message: WARNING: in_array() expects parameter 2 to be array, null given\n  In file: /Users/jmacgreg/git/ocs/lib/pkp/classes/core/PKPPageRouter.inc.php\n  At line: 165\n  Stacktrace: \n  Server info:\n   OS: Darwin\n   PHP Version: 5.3.1\n   Apache Version: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1 mod_fastcgi/2.4.2\n   DB Driver: mysql\n   DB server version: 5.1.38
[Fri Aug 20 12:27:17 2010] [error] [client 127.0.0.1] ocs2: 404 Not Found

The same errors crop up if I click the Remove button. 

(Courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=6469&p=24872#p24872)
Comment 1 Alec Smecher 2010-08-20 13:49:47 PDT
Created attachment 3179 [details]
Patch against OCS 2.3.3-1

Irritating, but cosmetic. The "Complete" function still works, but the redirect afterwards is incorrect for Track Directors. Everything is OK for directors throughout.
Comment 2 Alec Smecher 2010-08-20 13:50:08 PDT
Fixed.