I couldn’t find an option to remove incomplete submissions in OJS 3.3.0.10?. It was available in OJS 3.2.1.4. Could you please let me know, is there any way to delete the incomplete submissions?
How do I delete an article from OJS?
https://docs.pkp.sfu.ca/faq/en/editorial-workflow#how-do-i-delete-an-article-from-ojs
1- Editor should complete all the submission stages.
2- Then decline the submission
3- Then only delete the submission.
Thank you for your response. However, it would be better if we get an option like in version 3.2.1.4. I think this feature is not included in version 3.3.X.X
I’m used to bustle a little with the URLs to delete incomplete submissions without completing it before.
Imagine the incomplete submission has the id 451.
If you go to https://YOURSITE.COM/index.php/JOURNAL/workflow/index/451/1
you’ll enter directly in the (incomplete) submission page. Then you can act as it is a normal submission, rejecting it and then deleting it.
It works for 3.3.0-6, I think it works for 3.3.0-10 too.
Let me know!
Best regards
Use (with care) OJS’ CLI tool. For example, on Linux:
php <OJS_ROOT>/tools/deleteSubmissions.php <SUB1_ID> [<SUB2_ID> ...]
what i usally do is, i go into mySQl find submissions table and look for the id of the incomplete submission and delete them
The hard way:
- Temporary change → plugins\importexport\quickSubmit\QuickSubmitForm.inc.php
function cancel() {
$submissionDao = Application::getSubmissionDAO();
$submission = $submissionDao->getById($this->getData(‘submissionId’));
if ($this->_submission->getContextId() != $this->_context->getId()) throw new Exeption(‘Submission not in context!’);
if ($submission) $submissionDao->deleteById($submission->getId());
// ***********************
if ($submission) $submissionDao->deleteById(133);
if ($submission) $submissionDao->deleteById(245);
PS.
IDs (133, 245) from “Submissions” → “My Assigned”.
-
Run Quick Submit Plugin (management/importexport/plugin/QuickSubmitPlugin).
-
Cancel.
-
Remove temporary change
// ***********************
if ($submission) $submissionDao->deleteById(133);
if ($submission) $submissionDao->deleteById(245);
Hi @Michevole,
Thanks for the solution, which also works in version 3.3.0.13, except that in our case the URL is slightly different: https://joursite.com/journal/workflow/index/13638/1
Regards,
Joze
Hi @Michevole,
it worked in version 3.3.0.14, as well.
Thanks for your post!
Best,
Pep
Generic way (enable incompleteIds, run QuickSubmit, Cancel button, disable incompleteIds)
- File → plugins\importexport\quickSubmit\QuickSubmitForm.inc.php
Add code “// Delete incomplete submissions”.
function cancel() {
$submissionDao = Application::getSubmissionDAO();
$submission = $submissionDao->getById($this->getData(‘submissionId’));
if ($this->_submission->getContextId() != $this->_context->getId()) throw new Exeption(‘Submission not in context!’);
if ($submission) $submissionDao->deleteById($submission->getId());
// Delete incomplete submissions
$incomplete = Config::getVar(“submissions”, “incompleteIds”);
if (!empty($incomplete)) {
$ids = explode(“,”, $incomplete);
for ($i = 0; $i < count($ids); $i++) {
$id = trim($ids[$i]);
if (!empty($id)) {
$submissionDao->deleteById($id);
}
}
}
}
- File → config.inc.php
Add section:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Delete incomplete submissions ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[submissions]
;incompleteIds = 136,137
PS.
enable:
incompleteIds = 136,137
disable:
;incompleteIds = 136,137
Dear Team,
I have resolved this issue by using the following steps. I am able to delete the incomplete submissions now.
Please login as a journal editor or production editor and go to the submissions>> All active. There, you can see all the incomplete submissions. Then click “View” and Finish the submission by providing at least the title and author name. In the next step, we have to click on the option “Review this submission” and Decline Submission. Now you can see the declined item in the Archives. Select the drop-down arrow (⌄) against the declined article and delete the item permanently.
This topic was automatically closed after 14 days. New replies are no longer allowed.