Page MenuHomePhabricator

`rawResultLimit` getting set to 0 when querying for events for user availability
Closed, ResolvedPublic

Description

Class PhabricatorPolicyAwareQuery, on line 220:

if ($need) {
  $this->rawResultLimit = min($need - $count, 1024);
} else {
  $this->rawResultLimit = 0;
}

When querying for events for user availability, rawResultLimit is 0, resulting in unexpected results. This task is a placeholder to figure out if this is a problem, if the current workaround in PhabricatorCalendarEventQuery around line 177 is okay, or if there is a better fix.

Revisions and Commits

Restricted Differential Revision

Event Timeline

lpriestley assigned this task to epriestley.
lpriestley raised the priority of this task from to Normal.
lpriestley updated the task description. (Show Details)
lpriestley added a project: Calendar.
lpriestley added a subscriber: lpriestley.
epriestley added a revision: Restricted Differential Revision.Apr 7 2016, 12:23 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Apr 7 2016, 3:39 PM
epriestley added a commit: Restricted Diffusion Commit.