Hello.
We upgraded an OJS 2 to 3.1 and then to 3.3.0-10, at once.
In dashboard, admin have 20 unasigned submissions.
We can’t delete, there isn’t delete button.
If i click submission’s “view” button
You do not currently have sufficient privileges to view the submission. Please edit your profile to ensure that you have been granted the appropriate roles under "Register As".
If i use script php
# php7.3 tools/deleteSubmissions.php 326
PHP Fatal error: Uncaught Error: Call to a member function getUsername() on null in /var/www/clients/client1/web55/web/lib/pkp/classes/services/PKPSubmissionFileService.inc.php:597
Stack trace:
#0 /var/www/clients/client1/web55/web/lib/pkp/classes/submission/PKPSubmissionDAO.inc.php(129): PKP\Services\PKPSubmissionFileService->delete(Object(SubmissionFile))
#1 /var/www/clients/client1/web55/web/classes/submission/SubmissionDAO.inc.php(51): PKPSubmissionDAO->deleteById('326')
#2 /var/www/clients/client1/web55/web/tools/deleteSubmissions.php(56): SubmissionDAO->deleteById('326')
#3 /var/www/clients/client1/web55/web/tools/deleteSubmissions.php(62): SubmissionDeletionTool->execute()
#4 {main}
thrown in /var/www/clients/client1/web55/web/lib/pkp/classes/services/PKPSubmissionFileService.inc.php on line 597
Then, submission disappears, but if i reload i keep watching in the counter on Unasigned (1).
How can i delete this submissions?
Can i update some table to assign DECLINED to all submissions unasigned?
Thanks.