{"record":{"id":"cad9b5ccc34c7087","repo":"phacility/phabricator","slug":"the-publisher-key-s-is-already-in-use-by-anothe","errorCode":null,"errorMessage":"The publisher key \"%s\" is already in use by another publisher.","messagePattern":"The publisher key \"(.+?)\" is already in use by another publisher\\.","errorType":"validation","errorClass":"PhabricatorApplicationTransactionValidationException","httpStatus":null,"severity":"error","filePath":"src/applications/packages/editor/PhabricatorPackagesPublisherEditor.php","lineNumber":42,"sourceCode":"  protected function getMailTo(PhabricatorLiskDAO $object) {\n    return array();\n  }\n\n  protected function didCatchDuplicateKeyException(\n    PhabricatorLiskDAO $object,\n    array $xactions,\n    Exception $ex) {\n\n    $errors = array();\n    $errors[] = new PhabricatorApplicationTransactionValidationError(\n      PhabricatorPackagesPublisherKeyTransaction::TRANSACTIONTYPE,\n      pht('Duplicate'),\n      pht(\n        'The publisher key \"%s\" is already in use by another publisher.',\n        $object->getPublisherKey()),\n      null);\n\n    throw new PhabricatorApplicationTransactionValidationException($errors);\n  }\n\n}\n","sourceCodeStart":24,"sourceCodeEnd":46,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/editor/PhabricatorPackagesPublisherEditor.php#L24-L46","documentation":"Error \"The publisher key \"%s\" is already in use by another publisher.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/packages/editor/PhabricatorPackagesPublisherEditor.php:42 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"}