-
Notifications
You must be signed in to change notification settings - Fork 490
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
spike: reproduce - Permissions: Grant access errors for large # of files #2641
Comments
@mheppler |
This popup has another minor, related bug #2572 that would improve the UI. |
I have tested this behavior on both localhost and dvn-build (both running the latest "develop" branch based off 4.2.3), but was not able to reproduce all the aspects of this bug report. (YES/NO is if I was able to replicate it or not.)
If all these bugs cannot be replicated, that leaves the "removing access in chunks" bug to be fixed. |
On remove permissions getting null pointer on removeRoleAssignments method revokeRole (line 245) is being called with a null role assignment row. This happens in the same way whether you select "Remove Access" or click on the files link, select all and press "Remove Access" in the pop-up |
https://java.net/jira/browse/GLASSFISH-19470 This is an issue tracking the error message we are seeing. There doesn't appear to be any activity on it. I left a note to say that we are seeing it in Glassfish 4.1. |
Removing from 4.5. Note the external dependency with our friends at Glassfish, where the issue has existed for 4 years. When this issue is reprioritized, we may need to consider a different approach that removes the dependency. |
Stumbled on this issue while looking for GitHub issues about assigning roles (while troubleshooting a possible bug or UX problem related to assigning roles). Does this issue, which seems to have been whittled down to an error caused by revoking file-level permissions on a large number of files, still exist now that Dataverse software is no longer using Glassfish? Or maybe I'm misunderstanding the software's current relationship status with Glassfish? |
@jggautier I'd say it's unknown if this is still an issue on Payara (the derivative of Glassfish we use) or not. This issue was opened in the Glassfish 4.1 days and we're now on Payara 5.x. |
Next Steps:
|
Spoke to Sonia, she hasn't seen it recently but has no reason to believe it was fixed. Sonia said we could close this and she would open a new issue if she saw it again. I also saw some UX issues that could cause confusion or issues, especially if the system was not responding well, causing a user to maybe click around more:
|
2023/09/18
As a result, we will close this issue. @sbarbosadataverse please create an issue if you see any of the 4 problems again. |
Permissions: Grant access errors for large # of files
There was a data request sitting in permissions for Murray dataverse. I selected "accept" and it gave access to 308 file, which is the correct number of "Restricted" files, but the request came in for 315 files (7 files are not restricted). I clicked "Accept" again, and 168 files remained. I clicked "Accept" again and 8 files remained in the que. I clicked "Accept" again and nothing happened after the blue spinning, 8 files still remained in the que (the 8 not restricted for access)
I left the page, went back into permissions-files to add the user manually. I expected when I added her username, to only see "8" files show up in the list of files to give access to. Instead, all 315 files show up. Basically the system doesn't recognize a username already assigned to "files?" The files are also not in any type of order in this files permissions page.
When I added her to all 315 files again, I received 315 error messages as shown in the images below.
Removing her access seems to work in the same manner. It removed access in "chunks" and the updated page reflects smaller and smaller number of files as you keep choosing to "remove" access
The text was updated successfully, but these errors were encountered: