Bug 8138 - Problems with the scheduled tasks code
Problems with the scheduled tasks code
Status: NEW
Product: OJS
Classification: Unclassified
Component: Tools
2.4.x
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-01 12:03 PST by beghelli
Modified: 2013-11-26 12:18 PST (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description beghelli 2013-03-01 12:03:05 PST
If you try to run the scheduledTasks tool, you get the following error:

Message: WARNING: require_once(/../dev/pkp-workspace/ojs/tasks/ReviewReminder.inc.php): failed to open stream: No such file or directory

I think that's because the description inside the default scheduledTasks xml is wrong, missing the class directory.
Comment 1 beghelli 2013-03-01 12:04:42 PST
Another one is that ScheduledTaskDAO is declared twice: inside PKPApplication and Application.
Comment 2 Alec Smecher 2013-03-01 12:12:27 PST
Bruno, I think the incompletely-qualified class inclusion is a deprecation warning in ojs-stable-2_4 and only a fatal error in master. (Also, I think the duplicated ScheduledTaskDAO is cosmetic.) If that's the case, this should be filed against 3.0a. (Just trying to make sure we don't miss anything against 2.4.2, which is about to be released.)
Comment 3 beghelli 2013-11-26 12:18:02 PST
Fixed class names, missing classes directory
https://github.com/pkp/ojs/commit/e59ef53e74c751492e40f9653486c390723bcf8d