PKP Bugzilla – Bug 4692
Authors cannot delete inactive incomplete submissions
Last modified: 2012-03-13 03:39:39 PDT
Although Home > User > Author > Active Submissions shows a DELETE link /presenter/deleteSubmission/133, and clicking on the link gives a "Are you sure you want to delete this incomplete submission?" dialog box, clicking 'OK' doesn't delete the submission. Thanks - John
Matt, this one follows bug #4417 and bug #3815.
Created attachment 2424 [details] Patch against OCS pre-2.1.3 CVS This bug does not apply to OCS pre-2.3.
Fixed.
Matt, this breaks the security checks, e.g. allowing authors to view other authors' submissions.
Alec, are you sure? I would think if $isValid is false, then the validate function would want to redirect the user away from the page. Such is the behavior in OCS-2.3.
Test for yourself -- use e.g.: http://.../index.php/[conferencePath]/[schedConfPath]/presenter/submission/[submissionId] ...where [conferencePath] and [schedConfPath] are the conference and sched conf paths, respectively, and [submissionId] the paper ID of someone else's paper.
Created attachment 2425 [details] Patch against OCS pre-2.1.3 CVS Hmm, this function and I have a long history :) That extra $isDeleting check seems erroneous; after deleting and doing some testing everything seems okay. Patch committed.