Page MenuHomeDevCentral

Fix type error when data isn't cached in ProjectsMap
ClosedPublic

Authored by dereckson on Mar 3 2016, 19:24.
Tags
None
Referenced Files
F55913162: D325.id768.diff
Sun, Nov 1, 11:43
F55907881: D325.diff
Sun, Nov 1, 10:54
Unknown Object (File)
Sat, Oct 31, 19:27
Unknown Object (File)
Sat, Oct 31, 00:45
Unknown Object (File)
Fri, Oct 30, 22:59
Unknown Object (File)
Sun, Oct 25, 00:41
Unknown Object (File)
Sat, Oct 24, 22:25
Unknown Object (File)
Thu, Oct 15, 17:06
Subscribers

Details

Summary

When the cache doesn't contain a map, and loadFromCache method were
called, the map private property (with [] as default value) received
null value instead.

This fixes allow the offsetExists method to work in this scenario.

Test Plan

Run cache tests from D324

Diff Detail

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

Event Timeline

dereckson retitled this revision from to Fix type error when data isn't cached in ProjectsMap.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Mar 3 2016, 19:37
This revision was automatically updated to reflect the committed changes.