HomePhabricator

Fix a log warning when searching for ranges on custom "Date" fields

Description

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

Details

Provenance
epriestleyAuthored on Feb 28 2019, 5:34 PM
epriestleyPushed on Mar 1 2019, 3:49 AM
Reviewer
amckinley
Differential Revision
D20225: Fix a log warning when searching for ranges on custom "Date" fields
Parents
rP75dfae10118a: Don't require any special capabilities to apply a "closed a subtask"…
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22160
Build 30286: Run Core Tests