|
PKP Bugzilla – Full Text Bug Listing |
| Summary: | Review absolute due date always set to today | ||
|---|---|---|---|
| Product: | OCS | Reporter: | chakkapas <chakkapas.visavakul> |
| Component: | Review | Assignee: | PKP Support <pkp-support> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | michael.pkp |
| Priority: | P3 | ||
| Version: | 2.3.4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Version Reported In: | Also Affects: | ||
| Attachments: |
A patch for review absolute date problem for OCS 2.3.3-1
Patch against OCS 2.3.3-1 |
||
Thanks chakkapas for all of the details. Created attachment 3614 [details]
Patch against OCS 2.3.3-1
Review absolute due date always set to today https://github.com/pkp/ocs/commit/58292da6da3e5eb4f60689ebc5f7fab1796a9e60 Review absolute due date always set to today https://github.com/pkp/ocs/commit/1e632003af7ca6c1eebd2b288aa123d4a8ec6c45 Fixed. |
Created attachment 3466 [details] A patch for review absolute date problem for OCS 2.3.3-1 When setting Peer Review's due date under scheduled conference / settings / review menu, if we use absolute date rather than number of weeks it always set the due date back to today when a track director assigning a reviewer. --- I found that under class TrackDirector::addReviewer when passing $dueDate parameter to ::setDueDate, it doesn't pass as a string. The value stored in database table sched_conf_settings as a date time string, when reading back with $schedConf->getSetting it returns a long integer.