Skip to content
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

Click on “add group” dropdown causes WSOD #3366

Open
stefanriske opened this issue Oct 16, 2024 · 3 comments
Open

Click on “add group” dropdown causes WSOD #3366

stefanriske opened this issue Oct 16, 2024 · 3 comments
Labels
0. Needs triage Issues that need to be triaged bug needs info

Comments

@stefanriske
Copy link

Context
It's about the “add group” dropdown in the modal window that appears if you click on the pen icon in the “Groups” column on the groupfolders' overview page (/settings/admin/groupfolders).
I'm still fairly new to the Nextcloud. Maybe/hopefully, I have simply overlooked something trivial.

Expected behaviour
In the past (on Nextcloud 16, with groupfolders v4, I think), when I clicked on the pen icon to edit the permissions, I was able to click on the “add group” dropdown to add a user group.

Actual behaviour
Now, after upgrading to Nextcloud 30 (groupfolders v18), a click on the “add group” dropdown causes a WSOD and the browser console shows the following errors – I redacted some private URL parts.

react-dom.production.min.js:216 Invariant Violation: Minified React error #188; visit https://reactjs.org/docs/error-decoder.html?invariant=188 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at /themes/*/apps/groupfolders/build/settings.js:22:421
at a (/themes/*/apps/groupfolders/build/settings.js:22:524)
at findDOMNode (/themes/*/apps/groupfolders/build/settings.js:22:103904)
at t.value (/themes/*/apps/groupfolders/build/settings.js:31:52598)
at gs (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:257767)
at Ll (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:274573)
at t.unstable_runWithPriority (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:300652)
at Wo (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:216713)
at Bl (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:271312)
at Al (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:267423)
cs @ react-dom.production.min.js:216
n.callback @ react-dom.production.min.js:216
ha @ react-dom.production.min.js:131
gs @ react-dom.production.min.js:220
Ll @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Bl @ react-dom.production.min.js:252
Al @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Yo @ react-dom.production.min.js:123
Xo @ react-dom.production.min.js:122
Le @ react-dom.production.min.js:292
Yt @ react-dom.production.min.js:73


react-dom.production.min.js:123 Uncaught Invariant Violation: Minified React error #188; visit https://reactjs.org/docs/error-decoder.html?invariant=188 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at /themes/*/apps/groupfolders/build/settings.js:22:421
at a (/themes/*/apps/groupfolders/build/settings.js:22:524)
at findDOMNode (/themes/*/apps/groupfolders/build/settings.js:22:103904)
at t.value (/themes/*/apps/groupfolders/build/settings.js:31:52598)
at gs (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:257767)
at Ll (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:274573)
at t.unstable_runWithPriority (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:300652)
at Wo (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:216713)
at Bl (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:271312)
at Al (/apps-external/groupfolders/js/groupfolders-settings.js?v=4784ba85-32:2:267423)
(anonymous) @ react-dom.production.min.js:13
a @ react-dom.production.min.js:14
findDOMNode @ react-dom.production.min.js:266
value @ react-select-a34e9d12.browser.esm.js:405
gs @ react-dom.production.min.js:219
Ll @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Bl @ react-dom.production.min.js:252
Al @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Yo @ react-dom.production.min.js:123
Xo @ react-dom.production.min.js:122
Le @ react-dom.production.min.js:292
Yt @ react-dom.production.min.js:73


react-dom.production.min.js:216 TypeError: Cannot read properties of undefined (reading 'scrollHeight')
at t.value (react-select-a34e9d12.browser.esm.js:809:1)
at t.value (react-select-a34e9d12.browser.esm.js:784:1)
at As (react-dom.production.min.js:224:493)
at _s (react-dom.production.min.js:230:294)
at Ll (react-dom.production.min.js:256:468)
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Wo (react-dom.production.min.js:122:325)
at Bl (react-dom.production.min.js:252:279)
at Al (react-dom.production.min.js:243:371)
at react-dom.production.min.js:123:115
cs @ react-dom.production.min.js:216
n.callback @ react-dom.production.min.js:216
ha @ react-dom.production.min.js:131
gs @ react-dom.production.min.js:220
Ll @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Bl @ react-dom.production.min.js:252
Al @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Yo @ react-dom.production.min.js:123
Xo @ react-dom.production.min.js:122
Ie @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Dr @ react-dom.production.min.js:105
Qt @ react-dom.production.min.js:75
Zt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Kt @ react-dom.production.min.js:73


react-dom.production.min.js:123 Uncaught TypeError: Cannot read properties of undefined (reading 'scrollHeight')
at t.value (react-select-a34e9d12.browser.esm.js:809:1)
at t.value (react-select-a34e9d12.browser.esm.js:784:1)
at As (react-dom.production.min.js:224:493)
at _s (react-dom.production.min.js:230:294)
at Ll (react-dom.production.min.js:256:468)
at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
at Wo (react-dom.production.min.js:122:325)
at Bl (react-dom.production.min.js:252:279)
at Al (react-dom.production.min.js:243:371)
at react-dom.production.min.js:123:115
value @ react-select-a34e9d12.browser.esm.js:809
value @ react-select-a34e9d12.browser.esm.js:784
As @ react-dom.production.min.js:224
_s @ react-dom.production.min.js:230
Ll @ react-dom.production.min.js:256
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Bl @ react-dom.production.min.js:252
Al @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Wo @ react-dom.production.min.js:122
Yo @ react-dom.production.min.js:123
Xo @ react-dom.production.min.js:122
Le @ react-dom.production.min.js:292
Yt @ react-dom.production.min.js:73

Steps to reproduce

  1. Go to the groupfolders' overview page (/settings/admin/groupfolders).
  2. In the “Groups” column, click on the pen icon in an existing Group folder to open its permissions modal window.
  3. Click on the “add group” dropdown to add a user group.
  4. Suddenly, the entire screen turns white, and the browser console throws multiple JavaScript errors.

Server configuration

  • Operating system: Ubuntu 22.04.1
  • Web server: Apache 2.0
  • Database: MariaDB 10.6.18
  • PHP: 8.2
  • Nextcloud version: 30.0.0
  • Group folders version: 18.0.3

Please let me know if I can provide further information or if there's something I missed.

@provokateurin
Copy link
Member

Could you try a hard refresh with Ctrl+shift+R to ensure it's not a caching issue?

@stefanriske
Copy link
Author

Thank you for the suggestion. Yes, I always use the hard reload after updates. Unfortunately, it didn't help this time.

@joshtrichards
Copy link
Member

Unable to reproduce.

What browser? And can you also double-check in a different browser and/or in privacy mode and/or with extensions disabled?

Also, can you share a bit more about your environment? Are you using a WAF, CloudFlare, or anything like that?

Anything red/showing an error under the browser inspect Network tab when you load (reload) that page and attempt to do that action?

@joshtrichards joshtrichards added bug needs info 0. Needs triage Issues that need to be triaged labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug needs info
Projects
None yet
Development

No branches or pull requests

3 participants