{"record":{"id":"13cddf80865c5fa9","repo":"phacility/phabricator","slug":"you-can-not-bucket-results-by-required-action-with","errorCode":null,"errorMessage":"You can not bucket results by required action without specifying \"Responsible Users\".","messagePattern":"You can not bucket results by required action without specifying \"Responsible Users\"\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php","lineNumber":25,"sourceCode":"\n  const KEY_MUSTREVIEW = 'must-review';\n  const KEY_SHOULDREVIEW = 'should-review';\n\n  private $objects;\n\n  public function getResultBucketName() {\n    return pht('Bucket by Required Action');\n  }\n\n  protected function buildResultGroups(\n    PhabricatorSavedQuery $query,\n    array $objects) {\n\n    $this->objects = $objects;\n\n    $phids = $query->getEvaluatedParameter('responsiblePHIDs');\n    if (!$phids) {\n      throw new Exception(\n        pht(\n          'You can not bucket results by required action without '.\n          'specifying \"Responsible Users\".'));\n    }\n    $phids = array_fuse($phids);\n\n    // Before continuing, throw away any revisions which responsible users\n    // have explicitly resigned from.\n\n    // The goal is to allow users to resign from revisions they don't want to\n    // review to get these revisions off their dashboard, even if there are\n    // other project or package reviewers which they have authority over.\n    $this->filterResigned($phids);\n\n    // We also throw away draft revisions which you aren't the author of.\n    $this->filterOtherDrafts($phids);\n\n    $groups = array();","sourceCodeStart":7,"sourceCodeEnd":43,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php#L7-L43","documentation":"Error \"You can not bucket results by required action without specifying \"Responsible Users\".\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php:25 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}