OJS - Submission list bug

Hello,

I’m testing OJS for several days. Version is 3.1.1.4.
I’ve found a bug after update from 3.1.1.2. When a new submission is sent, administrator (in the Submissions - My Queue or Unassigned) does not see new submissions (but it is visible for the user who submitted it).
Only the number of submission is shown correctly (for example I’ve sent two papers, and below it is shown “2 of 2 submissions”).
When I open F12 debug console, on the network tab it is correctly shown JSON data for the submissions, and a following JS debug message is shown:
TypeError:
“e.currentUserAssignedRoles.forEach is not a function”
currentRoleAssignments http://removed/journal/js/build.js:1:58735
currentRoleAssignments http://removed/journal/js/build.js:1:58698
get http://removed/journal/js/build.js:6:5650
evaluate http://removed/journal/js/build.js:6:6649
Zt http://removed/journal/js/build.js:1:138154
userAssignedRole http://removed/journal/js/build.js:1:60992
notice http://removed/journal/js/build.js:1:55785
get http://removed/journal/js/build.js:6:5650
evaluate http://removed/journal/js/build.js:6:6649
Zt http://removed/journal/js/build.js:1:138154
i http://removed/journal/js/build.js:6:52446
_render http://removed/journal/js/build.js:6:10438
i http://removed/journal/js/build.js:1:134956
get http://removed/journal/js/build.js:6:5650
So http://removed/journal/js/build.js:6:5580
Rt http://removed/journal/js/build.js:1:134972
mount http://removed/journal/js/build.js:6:26068
mount http://removed/journal/js/build.js:6:30807
init http://removed/journal/js/build.js:6:7170
u http://removed/journal/js/build.js:6:16798
c http://removed/journal/js/build.js:6:16427
y http://removed/journal/js/build.js:6:18013
w http://removed/journal/js/build.js:6:19156
k http://removed/journal/js/build.js:6:19762
w http://removed/journal/js/build.js:6:18719
k http://removed/journal/js/build.js:6:19762
w http://removed/journal/js/build.js:6:18719
k http://removed/journal/js/build.js:6:19762
w http://removed/journal/js/build.js:6:18719
k http://removed/journal/js/build.js:6:19762
Na http://removed/journal/js/build.js:6:21066
_update http://removed/journal/js/build.js:6:9400
i http://removed/journal/js/build.js:1:134946
get http://removed/journal/js/build.js:6:5650
run http://removed/journal/js/build.js:6:6383
Vt http://removed/journal/js/build.js:1:136385
ct http://removed/journal/js/build.js:1:130493
ot http://removed/journal/js/build.js:1:130320
R http://removed/journal/js/build.js:1:96045
R http://removed/journal/js/build.js:1:95913
u http://removed/journal/js/build.js:1:28080

Logged in as admin, default permissions.
Please advise further actions. Thanks!

@NateWr this issue and the one here Missing / Not showing articles after upgrade to OJS 3.1 sound like the same issue

1 Like

Hi @netko,

A fix for this issue was merged in early August and will go out with v3.2. It was not ported to 3.1.1-4, so you’ll need to wait for 3.2.

If you have technical assistance for your journal, you can implement the fix manually by applying the following change:

2 Likes

Thank you very much. This problem is solved.