-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Project - Settings, Workspace - Audit Log
-
None
-
3
-
Severity 3 - Minor
-
1,127
Issue Summary
- When project invitations are sent/accepted, viewing the audit log gives a "Something went wrong" error with the following error text in the backend:
NoReverseMatch /{workspace_slug}/workspace/settings/auditlog/ Reverse for 'repository' with arguments '('workspaceID', '')' not found. 2 pattern(s) tried: ['(?P<username>[^/]+)/(?P<repo_slug>[^/]+)/overview/?$', '(?P<username>[^/]+)/(?P<repo_slug>[^/]+)/overview/?$'] - The theory is that invitation audit logs that have an owner field are treated like repository invitations and it then tries to create a repository URL, but fails because there is no slug
Steps to Reproduce
- Create workspace and project
- Navigate to project permissions settings page
- Grant a user permission that isn’t a workspace member
- Accept invite on the other user
- Navigate to Workspace settings > Audit Log
- Observe error message
Expected Results
- Audit log loads without issues regardless of what action is performed against the workspace
Actual Results
- Audit log is having issues loading due to the use of project invitations
Workaround
- Workspace admins can request a copy of the audit log from support
- Other than this, core functionality is affected
- links to