-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author Reviewer Grid: the grid fails to be displayed. #9957
Comments
@defstat, while testing this I noticed another problem - unable to see any files under that grid. My steps:
I can reproduce the bug described here by assigning a reviewer and declining this request. But I'm confused. I don't remember this part of the code at all. So, under that grid all files at the stage |
@defstat Also run into that - and was not aware of this issue. So I created new one at that time #10453 I will keep it opened as well as it offers alternative solution. What I propose as fix that display correctly the review assignment also if its not submitted yet. As result author (for open review) basically sees exactly the same thing as editors, because from the code that seemed to be the original intention. @Vitaliy-1 @Devika008 @asmecher Any opinion on this? Context is that when the review is opened one - we provide similar reviewer listing to author as the editor can see. Just with option to Read the review and no other actions. Which means that the author see whole process of reviewers are being requested, and they responded etc. Question is whether we want to reduce it and display maybe only the reviews that has been submitted (which is closer to @defstat PR) or keep the whole process transparent. |
Describe the bug
In the Author's workflow->review stage of a given submission, the Reviewer Grid fails to be displayed.
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS
main
branchAdditional information
The underling error is
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
and it is referring to theactions
template variable of theAuthorReviewerGridCellProvider
.The problem seems to be related to this. Here, the
stable
branch defines the query like soThe way that is implemented in the
main
branch, it seems that it is missing ther.date_confirmed IS NOT NULL AND r.declined <> 1
part of the query.PRs
@Vitaliy-1 I have crafted this suggested PR for that.
PKP-LIB: #9958
The text was updated successfully, but these errors were encountered: