Page MenuHomePhorge

Fix Exception in Chat room when you are not a Participant
ClosedPublic

Authored by valerio.bozzolan on Aug 18 2023, 08:55.
Tags
None
Referenced Files
F3322504: D25408.1743372744.diff
Sat, Mar 29, 22:12
F3317995: D25408.1743270896.diff
Fri, Mar 28, 17:54
F3317736: D25408.1743266759.diff
Fri, Mar 28, 16:45
F3316891: D25408.1743254959.diff
Fri, Mar 28, 13:29
F3316132: D25408.1743247120.diff
Fri, Mar 28, 11:18
F3315515: D25408.1743241822.diff
Fri, Mar 28, 09:50
F3314036: D25408.1743225789.diff
Fri, Mar 28, 05:23
F3307001: D25408.1743135618.diff
Thu, Mar 27, 04:20

Details

Summary

After this change you can lurk in public chats, and receive notifications, without crashing your planet.

Fix exception "Undefined index: PHID-USER-..." shown to newcomers when they are receiving messages
from a public Chat they are not members of.

Closes T15497

Test Plan

Now Alice does not see a crash anymore, but the message from Bob.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/conpherence/controller/ConpherenceUpdateController.php
378

Interestingly the page was already prepared to receive no participant. So the Diff is still consistent I hope.

speck subscribed.
speck added inline comments.
src/applications/conpherence/controller/ConpherenceUpdateController.php
344

Could you add a comment either here or above and reference the task? I think it will help in the future as it seems weird a user would be here but not be a participant.

This revision is now accepted and ready to land.Nov 8 2023, 23:17
valerio.bozzolan edited the test plan for this revision. (Show Details)