Page MenuHomeDevCentral

Fix getObjectType and getProjectsPHIDs exceptions
ClosedPublic

Authored by dereckson on Jul 11 2016, 02:48.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 25, 09:04
Unknown Object (File)
Sun, Aug 24, 17:20
Unknown Object (File)
Sat, Aug 23, 13:07
Unknown Object (File)
Tue, Aug 19, 05:04
Unknown Object (File)
Tue, Aug 19, 02:52
Unknown Object (File)
Sat, Aug 16, 03:57
Unknown Object (File)
Fri, Aug 15, 15:32
Unknown Object (File)
Mon, Aug 11, 20:27
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 Passed
Unit
No Test Coverage
Branch
T917

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.