OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
When an author uploads a submission file in Step 3 of the submission process, it is processed by the saveSubmit function of the SubmitHandler. This calls uploadSubmissionFile in AuthorSubmitStep3Form. As far as I can see, this function always returns false (updateArticle in the ArticleDAO doesn't return anything). Is that what is intended? [It doesn't cause a bug, but in modifying the script to accept only pdf files I am puzzled by it. It seems to me to make sense for the function to return true upon success. What happens if there is an error when uploading the file?]
- Posts: 77
- Joined: Mon Jun 07, 2004 1:24 pm
- Location: Toronto, Canada
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 1 guest