Return blank object_url for audit events that have a deleted entity
requested to merge 408156-undefined-method-namespaces_user_namespace_url-failure-in-ee-browser_ui-10_govern-instance into master
What does this MR do and why?
This was an error occuring in some QA specs.
I think it may only occur due to the way audit_events and their associations are created/manipulated in specs. I do not think this occurs in the normal application code flow
Either way, it makes sense to return a blank object_url
from the
presenter of the entity object is unavailable for some reason
resolves: #408156 (closed)
How to set up and validate locally
- remove
rescue
- run specs and see failure
- re-add
rescue
- run specs and see success
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #408156 (closed)
Edited by Michael Becker