{"record":{"id":"757c49c6a9620718","repo":"phacility/phabricator","slug":"the-project-icon-marked-as-the-default-icon-s","errorCode":null,"errorMessage":"The project icon marked as the default icon (\"%s\") must not be disabled.","messagePattern":"The project icon marked as the default icon \\(\"(.+?)\"\\) must not be disabled\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/project/icon/PhabricatorProjectIconSet.php","lineNumber":289,"sourceCode":"        $builtin_map = array_flip($builtin_map);\n\n        $root = dirname(phutil_get_library_root('phabricator'));\n        $image = $root.'/resources/builtin/projects/'.$builtin;\n\n        if (!array_key_exists($image, $builtin_map)) {\n            throw new Exception(\n              pht(\n                'The project image (\"%s\") specified for (\"%s\") '.\n                'was not found in the folder \"resources/builtin/projects/\".',\n                $builtin,\n                $key));\n        }\n      }\n\n      if (idx($value, 'default')) {\n        if ($default === null) {\n          if ($is_disabled) {\n            throw new Exception(\n              pht(\n                'The project icon marked as the default icon (\"%s\") must not '.\n                'be disabled.',\n                $key));\n          }\n          $default = $value;\n        } else {\n          $original_key = $default['key'];\n          throw new Exception(\n            pht(\n              'Two different icons (\"%s\", \"%s\") are marked as the default '.\n              'icon. Only one icon may be marked as the default.',\n              $key,\n              $original_key));\n        }\n      }\n\n      $special = idx($value, 'special');","sourceCodeStart":271,"sourceCodeEnd":307,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/project/icon/PhabricatorProjectIconSet.php#L271-L307","documentation":"Error \"The project icon marked as the default icon (\"%s\") must not be disabled.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:289 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"}