Page MenuHomeDevCentral

Fix getObjectType and getProjectsPHIDs exceptions
ClosedPublic

Authored by dereckson on Jul 11 2016, 02:48.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 12:04
Unknown Object (File)
Tue, Dec 10, 09:52
Unknown Object (File)
Tue, Dec 10, 09:17
Unknown Object (File)
Tue, Dec 10, 09:00
Unknown Object (File)
Sat, Dec 7, 02:48
Unknown Object (File)
Wed, Dec 4, 15:20
Unknown Object (File)
Wed, Dec 4, 15:20
Unknown Object (File)
Wed, Dec 4, 15:20
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.