Open jeremy-farrance opened 1 year ago
Just tested this after upgrading to yesterday's DNN release, v9.13.01 and the problems are not resolved. Screenshot below showing the after on Step 15 above. 1) DNN v9.13.01, 2) (x) has just been clicked, 3) JS console error appears immediately and is that same as reported above.
We are experiencing the same issue and was hopeful that it was resolved with #5865 but this still appears to be an issue in 9.13.1 so maybe these are unrelated.
This is still an easy to reproduce error in v9.13.02 on a quick/default install. I just used nvQuickSite, ran through the steps above on DNN v9.13.02, same result on step 16:
Can confirm, running into this bug as well.
Since this was possibly or partially related to #6045 (#6046) which was fixed in v9.13.04 rc1, I wanted to test and see if there was any change in behavior or improvement.
On Step 13 above, as soon as you click Add for the All Roles/Content Manager role, you see the following error in the DevTools console, thought the element becomes visible in the Edit Permissions modal:
Note that the results are the same for the Secure folder. And it makes no difference if you right-click on the Standard or Secure folder-list (left) or the items-listview (right). The steps provided above make this easy to reproduce in v9.13.04 (as of RC1).
I just re-tested this using the just released DNN v9.13.06 and the update above from Jul 18 is still mostly accurate. Multiple errors are thrown in the console (error reading 'permissions' at dnn-rm-edit-folder.tsx:137:112 (same as above) and when you click Save nothing happens, the new Role is not added. I am updating the title of this issue accordingly.
I also tested and could not find any direct way that this was related to the new Resource Manager Issue #6214.
This demonstration video should make the issue very clear. You cannot add a Role to a folder in DNN v9.13.06. This is a fresh install locally using nvQuickSite. https://github.com/user-attachments/assets/3f4cc746-8994-423b-a3f4-bfd5ac4ed378
Is there an existing issue for this?
What happened?
Multiple related issues with Permissions not saving, including one that throws a console error, "TypeError: Cannot read properties of null (reading 'rolePermissions') in dnn-rm-edit-folder.tsx, line 133.
Details below in Steps to reproduce...
ERRORS on steps 15/16, 21/22
Steps to reproduce?
Using a clean new install of DNN v9.13.00:
Repeat the above steps (Standard folder) on the Secure folder and observe the results. Try doing page refreshes and not after each save. Strangely, the results will be different. Sometimes it works. Sometimes it works PARTIALLY (e.g. for All Users, uncheck Write and Browse, Save, and when you come back, Write is checked and Browse is not).
Emphasizing: The Standard folder never saves changes to Roles; Write/Browse. And weirdly, the Secured folder works sometimes and partially.
Example of Secure folder with Write and Browse checked for All Users
Before:
Intended settings (changes):
UNEXPECTED Results After Save:
Note: above is an example of the random results, again, sometimes it works, sometimes partial, and as you see above, sometimes very unexpected.
Current Behavior
No response
Expected Behavior
No response
Relevant log output
No response
Anything else?
Only testing on Chrome and Firefox, same results.
Affected Versions
v9.13.0 and v9.13.01 (updated after new tests on just released DNN; 20231207 JRF)
What browsers are you seeing the problem on?
Firefox, Chrome
Code of Conduct