Page MenuHomeDevCentral

Fix getObjectType and getProjectsPHIDs exceptions
ClosedPublic

Authored by dereckson on Jul 11 2016, 02:48.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 16:59
Unknown Object (File)
Thu, Nov 7, 15:31
Unknown Object (File)
Thu, Nov 7, 14:52
Unknown Object (File)
Thu, Nov 7, 13:57
Unknown Object (File)
Thu, Nov 7, 12:51
Unknown Object (File)
Thu, Oct 31, 10:42
Unknown Object (File)
Thu, Oct 31, 04:01
Unknown Object (File)
Mon, Oct 21, 16:41
Subscribers
None

Details

Summary

Sometimes, a story is sent without any objectPHID field.
For example, test notifications to verify Aphlict settings have
no object attached.

This code handles those cases adding extra check for data presence.

Fixes T917.

Test Plan

Fire a failed notification

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Fix getObjectType and getProjectsPHIDs exceptions.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.

[02:45:02] <Nasqueron/nasqueron> This is a test notification, sent at Mon, Jul 11, 00:23.

This revision is now accepted and ready to land.Jul 11 2016, 02:51
This revision was automatically updated to reflect the committed changes.