The code that was previously in LinkCache::getGoodLinkRow may return a cached row object (either from the in-process cache, or memcached). In some cases, this caused LinkCache::addGoodLinkObjFromRow to throw, because a field was missing (although the field is missing only from the cached copy, not from the database). To avoid this, try to invalidate the cache in LinkCache::getGoodLinkRow and retry, before letting the exception propagate. Bug: T205349 Change-Id: Ie9e90bf32964047c1831f575cc260d7d62e9e848 |
||
|---|---|---|
| .. | ||
| BacklinkCacheTest.php | ||
| GenderCacheTest.php | ||
| LinkBatchTest.php | ||
| LinkCacheTest.php | ||
| LinkCacheTestTrait.php | ||
| LocalisationCacheTest.php | ||
| MessageCacheTest.php | ||