Bug 7931 - Uploading a layout file for submissions generates a fatal error
Uploading a layout file for submissions generates a fatal error
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Submissions and Publishing
2.4.1
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-24 06:59 PDT by Jason Nugent
Modified: 2012-09-25 09:05 PDT (History)
0 users

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-24 06:59:08 PDT
The uploadLayoutFile method in pages/sectionEditor/SubmissionEditHandler.inc.php does not pass a request parameter to the internal _uploadLayoutVersion method, which results in a fatal error when layout files of type 'submission' are uploaded.
Comment 1 Jason Nugent 2012-09-24 07:03:40 PDT
Fixed, added to recommended patches for 2.4.0.
Comment 2 Jason Nugent 2012-09-24 07:05:03 PDT
correct function arguments
https://github.com/pkp/ojs/commit/3bfab963769e2161d7e76be96191068a5c7e3956
Comment 3 Jason Nugent 2012-09-25 09:05:01 PDT
correct function arguments
https://github.com/pkp/ojs/commit/c1ae4d820e2cc407fb3d3c17b4a854b9055b53b1