In submission discussion not download files

@asmecher @Vitaliy

We are using OJS version 3.3.0.6

In submission, pre review discussion section, we cannot download files, when we click on file, it’s generate below error line.

{“status”:false,“content”:“You have not been assigned to this submission with a role that is allowed to access this operation.”,“elementId”:“0”,“events”:null}

Please help in this regard.

@asmecher @Vitaliy Please help me in this regard because our work flow is disturbing.

@rcgillis You please help in this issue, we are halt for this problem. Please give me solution.

Thanks

Hi @hussainyousaf,

Someone encountering the same issue reported this here: Journal manager can't download files in Editorial History unless they're a reviewer - #5 by sabrinaeck

Perhaps, first, you could try some of what is suggested in that thread?

-Roger
PKP Team

@rcgillis
I tried these suggestions but problem not solved? Please suggest best solution.

Hi @hussainyousaf,

Thanks. I don’t know what to suggest at this point, but it might be helpful to look at your PHP error logs and see if there are any relevant error messages there and report them.

-Roger
PKP Team

@rcgillis

I fond these error messages, please look into it and please guide accordingly.

[04-Aug-2022 13:01:04 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/afxvwsmy/public_html/pages/issue/IssueHandler.inc.php:52
Stack trace:
#0 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPRouter.inc.php(392): IssueHandler->initialize(Object(Request), Array)
#1 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#2 /home/afxvwsmy/public_html/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route(Object(Request))
#3 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /home/afxvwsmy/public_html/index.php(68): PKPApplication->execute()
#5 {main}
thrown in /home/afxvwsmy/public_html/pages/issue/IssueHandler.inc.php on line 52

[06-Aug-2022 08:44:28 UTC] PHP Fatal error: Uncaught Error: Call to a member function getAssocType() on null in /home/afxvwsmy/public_html/lib/pkp/controllers/grid/files/query/QueryNoteFilesGridDataProvider.inc.php:68
Stack trace:
#0 /home/afxvwsmy/public_html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(837): QueryNoteFilesGridDataProvider->loadData(Array)
#1 /home/afxvwsmy/public_html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(314): GridHandler->loadData(Object(Request), Array)
#2 /home/afxvwsmy/public_html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1030): GridHandler->getGridDataElements(Object(Request))
#3 /home/afxvwsmy/public_html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(921): GridHandler->renderGridBodyPartsInternally(Object(Request))
#4 /home/afxvwsmy/public_html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(643): GridHandler->doSpecificFetchGridActions(Array, Object(Request), Object(TemplateManager))
#5 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPRouter.inc.php(395): GridHandler->fetchGrid( in /home/afxvwsmy/public_html/lib/pkp/controllers/grid/files/query/QueryNoteFilesGridDataProvider.inc.php on line 68

[06-Aug-2022 16:13:29 UTC] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/afxvwsmy/public_html/pages/issue/IssueHandler.inc.php:52
Stack trace:
#0 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPRouter.inc.php(392): IssueHandler->initialize(Object(Request), Array)
#1 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#2 /home/afxvwsmy/public_html/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route(Object(Request))
#3 /home/afxvwsmy/public_html/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /home/afxvwsmy/public_html/index.php(68): PKPApplication->execute()
#5 {main}
thrown in /home/afxvwsmy/public_html/pages/issue/IssueHandler.inc.php on line 52

Hi @hussainyousaf,

Thanks for sharing. Will see if some of our team members can assist when they are able to/available.

-Roger
PKP Team

Hi @rcgillis

It is humble request, please allocate any team member to guide me accordingly, because our work is stuck in this stage.

Regards

Hello @hussainyousaf,

Please be patient. I don’t have the ability to allocate team members to support requests here on the forum. Support on the PKP Community Forum is provided for free by PKP staff and community members. We are a small team and need to balance our time spent answering questions here on the Forum with our other work developing and maintaining our free and open source software and other services. We try our best but do not guarantee that every question will be answered or that every issue is resolved.

-Roger
PKP Team

@rcgillis Is any staff member will guide me, please.

Hello @hussainyousaf

Is it possible for you to upgrade to latest version of OJS for example 3.3.0.10 or above ? I tried to reproduce the issue in version 3.3.0.10 but seems working fine .

So after creating a new submission as an Author, I created a new discussion as the Author with files associated with it . As a Journal Manager, I was able to access those discussion and associated file(view/download) both in the Pre-Review Discussions and Activily Log section .

If my mentioned workflow does not match your case for which is issue is still generating after the upgrade, then please provide step by step process for which you still able to generate this issue as that will help us to narrow down the cause of issue .

1 Like