{"record":{"id":"669d2f18a3646ab5","repo":"phacility/phabricator","slug":"no-exclusion-value-for-path-s","errorCode":null,"errorMessage":"No exclusion value for path \"%s\"!","messagePattern":"No exclusion value for path \"(.+?)\"!","errorType":"exception","errorClass":"Exception","httpStatus":500,"severity":"error","filePath":"src/applications/owners/controller/PhabricatorOwnersPathsController.php","lineNumber":38,"sourceCode":"      return new Aphront404Response();\n    }\n\n    if ($request->isFormPost()) {\n      $paths = $request->getArr('path');\n      $repos = $request->getArr('repo');\n      $excludes = $request->getArr('exclude');\n\n      $path_refs = array();\n      foreach ($paths as $key => $path) {\n        if (!isset($repos[$key]) || !strlen($repos[$key])) {\n          throw new Exception(\n            pht(\n              'No repository PHID for path \"%s\"!',\n              $key));\n        }\n\n        if (!isset($excludes[$key])) {\n          throw new Exception(\n            pht(\n              'No exclusion value for path \"%s\"!',\n              $key));\n        }\n\n        $path_refs[] = array(\n          'repositoryPHID' => $repos[$key],\n          'path' => $path,\n          'excluded' => (int)$excludes[$key],\n        );\n      }\n\n      $type_paths = PhabricatorOwnersPackagePathsTransaction::TRANSACTIONTYPE;\n\n      $xactions = array();\n      $xactions[] = id(new PhabricatorOwnersPackageTransaction())\n        ->setTransactionType($type_paths)\n        ->setNewValue($path_refs);","sourceCodeStart":20,"sourceCodeEnd":56,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/owners/controller/PhabricatorOwnersPathsController.php#L20-L56","documentation":"Error \"No exclusion value for path \"%s\"!\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/owners/controller/PhabricatorOwnersPathsController.php:38 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"}