Page MenuHomePhabricator

Fix two issues with creating Conpherence threads via mail on some configurations
ClosedPublic

Authored by epriestley on Dec 12 2013, 6:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 8, 12:58 AM
Unknown Object (File)
Mon, May 5, 9:13 PM
Unknown Object (File)
Apr 27 2025, 7:15 PM
Unknown Object (File)
Apr 26 2025, 8:23 PM
Unknown Object (File)
Apr 18 2025, 7:49 AM
Unknown Object (File)
Apr 9 2025, 4:48 PM
Unknown Object (File)
Apr 8 2025, 3:34 PM
Unknown Object (File)
Apr 7 2025, 10:47 AM
Subscribers

Details

Summary

Ref T4107. Two issues:

  • With strict MySQL settings, we try to insert null into the non-nullable messageCount field. Add an initializeNew... method.
  • If we don't create a new conpherence (for example, because the message body is empty), we fatal on getPHID() right now.

Also, make this stuff a little easier to test.

Test Plan

Used mail_handler.php to receive empty conpherence mail, and new-thread conpherence mail.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped