Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 20, 18:18
Unknown Object (File)
Sat, May 11, 07:21
Unknown Object (File)
Mon, May 6, 10:27
Unknown Object (File)
Sun, May 5, 05:23
Unknown Object (File)
Sun, May 5, 04:44
Unknown Object (File)
Thu, May 2, 01:34
Unknown Object (File)
Wed, May 1, 19:22
Unknown Object (File)
Wed, May 1, 00:22

Details

Summary

Fix T15762. There's a complex interaction with project's AutoCapability requiring the membership info
to be already loaded, and the Mention rule assuming any project is fully loaded before trying to check
permissions.

As far as I can tell, the "contextObject" is currently used only to make the mention handle gray if
the mentioned user can't see it.

Test Plan

Load a Project's hovercard that @mentions a user that can't see the project - no crash.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable