When fetching a key from an array, PHP converts numeric strings to integers. This led to an incorrect category update query. So: * In LinksTable subclasses, cast all string-like array keys to string. * Add a unit test which confirms that no integers leak into link IDs. * Add a fully integrated regression test for T301433. The integration test and 7 of the link ID cases are confirmed to fail if Amir's patch is reverted. Bug: T301433 Change-Id: I8d19443607121b3efcafb82096bcff18c41035df |
||
|---|---|---|
| .. | ||
| CdnCacheUpdateTest.php | ||
| DeferredUpdatesTest.php | ||
| LinksDeletionUpdateTest.php | ||
| LinksUpdateTest.php | ||
| RefreshSecondaryDataUpdateTest.php | ||
| SearchUpdateTest.php | ||
| SiteStatsUpdateTest.php | ||