Bug 7938 - Reduce reliance on static calls to Request in plugins
Reduce reliance on static calls to Request in plugins
Status: NEW
Product: OJS
Classification: Unclassified
Component: Plug-ins
2.4.x
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-26 06:22 PDT by Jason Nugent
Modified: 2012-09-27 10:04 PDT (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 Jason Nugent 2012-09-26 06:22:06 PDT
Many plugins use PKPApplication or the Registry directly.  Replace these with something better.
Comment 1 Jason Nugent 2012-09-26 06:30:02 PDT
introduce getRequest method in PKPPlugin
https://github.com/pkp/pkp-lib/commit/568dbee27e97df7f294a7aa7489526010c3dc100
Comment 2 Jason Nugent 2012-09-26 06:30:03 PDT
introduce getRequest method in PKPPlugin
https://github.com/pkp/pkp-lib/commit/d8a433438bd0e24c20f273747b8cfdd4abf46a46
Comment 3 Jason Nugent 2012-09-26 06:35:02 PDT
use getRequest instead of static call
https://github.com/pkp/omp/commit/b2da09f3740c08607b49a8b1301218ace4d8da12
Comment 4 Jason Nugent 2012-09-26 06:40:02 PDT
use getRequest instead of static call
https://github.com/pkp/omp/commit/d602aa93a3ca4a0f3ac122650c19e505a9338a3f
Comment 5 Jason Nugent 2012-09-26 16:55:35 PDT
Re-assigning to OJS for incoming commit.
Comment 6 Jason Nugent 2012-09-26 17:00:02 PDT
reduce use of static requests in OJS plugins
https://github.com/pkp/ojs/commit/3155311923a974678aa8a51c34ad1fb52edf435a
Comment 7 Jason Nugent 2012-09-27 09:30:02 PDT
reduce reliance on static requests for OCS plugins
https://github.com/pkp/ocs/commit/568936b8d78389dbfe9f3f952ab02c00751e9788
Comment 8 Jason Nugent 2012-09-27 10:00:03 PDT
reduce reliance on static requests for OHS plugins
https://github.com/pkp/harvester/commit/3c035c91a042a074e6108a0d776c67a308bc5a80
Comment 9 Jason Nugent 2012-09-27 10:04:05 PDT
Moving to 2.4.x for merge consideration at a later date.