"OJS 3.5 – Error deleting incomplete submissions: 'The requested resource was not found'"

Describe the issue or problem

When I try to delete incomplete submissions using the “Delete incomplete submissions” option in the editor dashboard, I receive an error message:
“The requested resource was not found”

I expected the submission to be removed from the list, but it stays visible. If I try again, I get the same error. This seems to happen intermittently — sometimes the deletion works, sometimes it doesn’t.

Steps I took leading up to the issue

  1. Go to the Dashboard as an Editor

  2. Navigate to Submissions → Active

  3. Filter by status: Incomplete

  4. Select a submission

  5. Click the dropdown menu and choose Delete incomplete submission

  6. Confirm the deletion

  7. See error: “The requested resource was not found”

The submission remains in the list and cannot be deleted.


What application are you using?

Open Journal Systems (OJS) 3.5.0.0

  • Installed: June 25, 2025

  • OS: Linux

  • PHP: 8.3.22

  • Apache

  • Database: MariaDB 10.6.22


Additional information

  • I have attached screenshots of the error message and server info.

  • This issue might be related to submissions being orphaned or partially deleted.

Screenshots

Has anyone else experienced this issue?
Any guidance or workaround would be appreciated.
Let me know if I can provide logs or database info to help troubleshoot.

Thank you in advance!

Hi @Marielba_Hernandez_1,

Do you have access to your PHP error logs and can report on error messages found there - that may help pinpoint the issue.

-Roger

PKP Team

Hi Roger,

Thanks for your reply.

Yes, I do have access to the PHP error logs, and I’ve already checked them — there are no related error messages at the time the issue occurs.

The only indication of the problem is a 404 (Not Found) in the browser console, when attempting to delete an incomplete submission. The request URL looks like this:

/index.php/opinionpublica/submissions/6288?ids%5B%5D=630

If there’s anything else I should check or log to help troubleshoot this, I’d be happy to do so.

Best regards,

Hi @Marielba_Hernandez_1,

Thanks for the follow-up. Not sure exactly what is going on, but of our team/community members may be able to assist.

-Roger

PKP Team

i also encounter this error.

i think for submission that is incomplete but has author attach to it you can delete it. but if the submission got no author attach to it, it cannot be deleted and this error occurred.

Maybe dev can look a bit into this..

Hi

Same here. Upgraded from 3.3.0.10 to 3.5.0.2

There is an option to batch-delete incomplete submissions, but I get the same error.

Any help will be appreciated.

Regards,

Juan

I have the same problem. I can’t delete incomplete submissions if I’m not the author.

But users associated with the submissions also can’t see them as authors.
OJS version 3.5.0.3

Error in console:
POST https://revista.clad.org/ryd//api/v1/_submissions?ids[]=328&ids[]=318&ids[]=317&ids[]=321&ids[]=290&ids[]=261&ids[]=259 404 (Not Found)

Hello everyone, I encountered the same issue in OJS 3.5.0-3. After investigating, it appears that the problem occurs when a Journal Manager or Site Admin account also has the Author role. Below are two possible solutions.

1. Remove the Author role from the Journal Manager / Site Admin account

If a Journal Manager or Site Admin account also has the Author role, incomplete submissions cannot be deleted. Once the Author role is removed, the incomplete submissions can be deleted without any issue.
The Author role can be removed from Settings → Users & Roles as usual.

2. Modify the backend code so Journal Manager / Site Admin with the Author role can still delete incomplete submissions

Open the following file:

ojs/lib/pkp/api/v1/_submissions/PKPBackendSubmissionsController.php

Go to line 474, and locate the following code:

if ($user->hasRole([Role::ROLE_ID_AUTHOR], $context->getId())) {

Change it to:

if (!$this->canAccessAllSubmissions() && $user->hasRole([Role::ROLE_ID_AUTHOR], $context->getId())) {

Adding !$this->canAccessAllSubmissions() ensures that if the user has the Journal Manager or Site Admin role, the assignedTo filter will not be applied.

This change is only a temporary workaround. Hopefully, PKP will provide a permanent fix in a future update.

That’s great @dnaite ! I just encountered this issue on OJS 3.5.0.5 as well. One of our journal managers asked me why delete incomplete submissions isn’t working.

@rcgillis do you know if this will be addressed in a future update?

Regards,

Magnus Annemark

@grierb - are you able to speak to this? This was supposed to be resolved here, I think? But as users here on this thread have pointed out - it may not be?

-Roger

@Marielba_Hernandez_1 I took a look and I can’t reproduce this problem. @rcgillis looks like it was implemented here : Ability to bulk-delete old incomplete submissions · Issue #6528 · pkp/pkp-lib · GitHub with these requirements. Not specific to roles, but I tried several different combinations; including with author role from a submission created by the Journal Editor as the author. They all seem to delete the incomplete submissions without error.

With JM role

  1. Single delete incomplete submission from another author
  2. Multi delete incomplete submission from various authors

With JM role and Author Role

  1. Single delete incomplete submission from another author
  2. Single delete incomplete submission from them as the author
  3. Multi delete submission(s) from various authors.

So there are a few other variables I can try.

  1. What Roles / permissions does the user doing the deleting using?
  2. How is this submission being submitted? (ie submission wizard?)
  3. What version are you using? I tried main, 3.5.0-5, 3.5.0-6 (latest released stable)
  4. What happens when you select the editorial action Complete Submission for that submission? Reason for asking this is maybe contents were some how deleted but submission is orphaned.

Hello!

So sorry to lead you down a dead-end with testing. I just got confirmation that it indeed was not the author role in our case. The editor who encountered the problem tried removing the author role but still has the same issue. They solved it by logging in as another user and deleting, so there is something about the particular user, but not sure what it is.

Our particular conditions are:

  • OJS 3.5.0.5, recently upgraded from 3.3.
  • Submissions submitted by author with submission wizard after upgrade to 3.5. Submissions are marked incomplete.
  • The user has multiple roles: Journal manager, Journal editor, Production editor, Section editor, Indexer, Layout Editor, Author, Reviewer, Reader, Subscription Manager.
  • Error message: “Error. The requested resource was not found.”
  • As with @Marielba_Hernandez_1, no error in PHP error log. 404 error in browser console.

Sorry to bother you again, but I double checked the issue by recreating it in our test journal. That test again pointed to the author role being the culprit. I did the following:

  1. In OJS 3.5, upgraded from 3.3.
  2. User1 with roles Author, Reviewer and Reader: Submits submission with submission wizard but saves and quits at file upload stage, which creates an incomplete submission.
  3. User2 with roles JM, Journal Editor, Author: Tries to delete submission with error as described above.
  4. User2, deletes role Author. Delete submission now works as intended.

Thanks for the update. I will try to recreate it locally.

@grierb Thank you for looking into it, though I hope you saw my next post where I again located the error in the author role. I should have simply edited my original post, sorry about that.

Hello @mannemark ,

I did see your post about the specific user roles needed for repro steps thanks for those. Apologies for the delayed response. I was able to reproduce it on 3.5.0-5 and 3.5.0-4. I was not able to reproduce it on latest stable (3.5.0-6) or our main (3.6) branch. I believe I have found the fix for 3.5.0-6 : Bulk delete of incomplete submissions returns 404 on stable-3_5_0: fix from #12742 was not backported · Issue #13125 · pkp/pkp-lib · GitHub

I would suggest to continue along with upgrading to the latest stable version as it has several other bug fixes as well. Hope this helps.