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
F3290881: D25408.1742874881.diff
Mon, Mar 24, 03:54
F3283734: D25408.1742759136.diff
Sat, Mar 22, 19:45
F3245601: D25408.1742184501.diff
Sun, Mar 16, 04:08
F3225083: D25408.1742090374.diff
Sat, Mar 15, 01:59
F3223488: D25408.1741958455.diff
Thu, Mar 13, 13:20
F3221835: D25408.1741889701.diff
Wed, Mar 12, 18:15
F3220820: D25408.1741813149.diff
Tue, Mar 11, 20:59
F3220819: D25408.1741813148.diff
Tue, Mar 11, 20:59

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)