{"record":{"id":"0af2c18182dffe9b","repo":"phacility/phabricator","slug":"project-icons-must-include-one-icon-marked-as-the","errorCode":null,"errorMessage":"Project icons must include one icon marked as the \"%s\" icon, but no such icon exists.","messagePattern":"Project icons must include one icon marked as the \"(.+?)\" icon, but no such icon exists\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/project/icon/PhabricatorProjectIconSet.php","lineNumber":334,"sourceCode":"                self::SPECIAL_MILESTONE));\n          }\n          $milestone = $value;\n        } else {\n          $original_key = $milestone['key'];\n          throw new Exception(\n            pht(\n              'Two different icons (\"%s\", \"%s\") are marked with special '.\n              'attribute \"%s\". Only one icon may be marked with this '.\n              'attribute.',\n              $key,\n              $original_key,\n              self::SPECIAL_MILESTONE));\n        }\n      }\n    }\n\n    if ($default === null) {\n      throw new Exception(\n        pht(\n          'Project icons must include one icon marked as the \"%s\" icon, '.\n          'but no such icon exists.',\n          'default'));\n    }\n\n    if ($milestone === null) {\n      throw new Exception(\n        pht(\n          'Project icons must include one icon marked with special attribute '.\n          '\"%s\", but no such icon exists.',\n          self::SPECIAL_MILESTONE));\n    }\n\n  }\n\n  private static function getColorSpecifications() {\n    return PhabricatorEnv::getEnvConfig('projects.colors');","sourceCodeStart":316,"sourceCodeEnd":352,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/project/icon/PhabricatorProjectIconSet.php#L316-L352","documentation":"Error \"Project icons must include one icon marked as the \"%s\" icon, but no such icon exists.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:334 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"}