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
F2889917: D25408.1737204612.diff
Fri, Jan 17, 12:50
F2878699: D25408.1737024443.diff
Wed, Jan 15, 10:47
F2878698: D25408.1737024443.diff
Wed, Jan 15, 10:47
F2878697: D25408.1737024441.diff
Wed, Jan 15, 10:47
F2877713: D25408.1737006108.diff
Wed, Jan 15, 05:41
F2877706: D25408.1737005977.diff
Wed, Jan 15, 05:39
F2869835: D25408.1736739170.diff
Sun, Jan 12, 03:32
F2867522: D25408.1736647727.diff
Sat, Jan 11, 02:08

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)