freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.87k stars 481 forks source link

Discard a draft while its edited by someone else, causes log spam #3951

Closed sofl88 closed 4 months ago

sofl88 commented 4 months ago

As described, if someone discards the draft from another editor, this editor gets a error message spam of "Lost internet connection" and the error log gets filled with a php error.

Attempt to assign property \"type\" on null at /www/htdocs/.../app/Http/Controllers/ConversationsController.php:1486

https://github.com/freescout-helpdesk/freescout/blob/ad76e2d3cecd6290e37b3cdf3d669b5e6afca036/app/Http/Controllers/ConversationsController.php#L1486

I would appreciate if this could be prevented somehow

Thanks in advance

freescout-helpdesk commented 4 months ago

We can't reproduce the issue.

sofl88 commented 4 months ago

https://github.com/freescout-helpdesk/freescout/assets/12407767/260419c1-05c6-44ed-8168-a683e9c2b6cc