1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/conpherence
epriestley 7f45824984 Fix two issues with creating Conpherence threads via mail on some configurations
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.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4107

Differential Revision: https://secure.phabricator.com/D7760
2013-12-12 10:59:28 -08:00
..
__tests__ Conpherence - implement epoch creation slightly differently 2013-06-03 15:40:00 -07:00
application Nuance - get some scaffolding up there 2013-11-06 17:00:09 -08:00
conduit Conpherence - add an updatethread conduit method 2013-05-31 14:58:02 -07:00
config Fix spelling blip 2013-04-03 08:27:05 -07:00
constants Conpherence - add daily date dividers 2013-05-30 14:24:50 -07:00
controller Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
editor Add support for more granular sending of email in application transactions 2013-09-13 15:08:17 -07:00
events Make event-triggered actions more aware of application access 2013-10-21 17:00:50 -07:00
mail Fix two issues with creating Conpherence threads via mail on some configurations 2013-12-12 10:59:28 -08:00
phid Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
storage Fix two issues with creating Conpherence threads via mail on some configurations 2013-12-12 10:59:28 -08:00
util Conpherence - implement epoch creation slightly differently 2013-06-03 15:40:00 -07:00
view Conpherence - add dropdown menu 2013-08-08 13:43:33 -07:00