@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix feed query cursor-based pagination on 32-bit systems

Summary: Fixes T8503. On 32-bit systems, these 64-bit integers will be mangled by the '%d' conversion implied by the 'int' type.

Test Plan: Somewhat guessing here since I don't have a 32-bit system handy, but this strongly echoes similar issues in the past. Feed works fine locally. Looked at the generated queries.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8503

Differential Revision: https://secure.phabricator.com/D13250

+1 -1
+1 -1
src/applications/feed/query/PhabricatorFeedQuery.php
··· 101 101 'key' => array( 102 102 'table' => $table, 103 103 'column' => 'chronologicalKey', 104 - 'type' => 'int', 104 + 'type' => 'string', 105 105 'unique' => true, 106 106 ), 107 107 );