@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 a log warning when searching for ranges on custom "Date" fields

Summary:
See <https://discourse.phabricator-community.org/t/traceback-rendering-task-query-in-dashboard/2450/>.

It looks like this blames to D19126, which added some more complex constraint logic but overlooked "range" constraints, which are handled separately.

Test Plan:
- Added a custom "date" field to Maniphest with `"search": true`.
- Executed a range query against the field.

Then:

- Before: Warnings about undefined indexes in the log.
- After: No such warnings.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: jbrownEP

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

+2
+2
src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php
··· 1233 1233 'index' => $index->getIndexKey(), 1234 1234 'alias' => $alias, 1235 1235 'value' => array($min, $max), 1236 + 'data' => null, 1237 + 'constraints' => null, 1236 1238 ); 1237 1239 1238 1240 return $this;