phacility/phabricator · error · Exception
Project icons must include one icon marked with special…
Error message
Project icons must include one icon marked with special attribute "%s", but no such icon exists.
What it means
Raised at the end of validateConfiguration: no icon entry carries the SPECIAL_MILESTONE special attribute, which project icons must include. The config is rejected until a milestone icon is designated.
Solutions
- Add special => milestone to one icon entry in project.icons.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:342 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/c8bbf15bb2611162.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:342
'attribute "%s". Only one icon may be marked with this '.
'attribute.',
$key,
$original_key,
self::SPECIAL_MILESTONE));
}
}
}
if ($default === null) {
throw new Exception(
pht(
'Project icons must include one icon marked as the "%s" icon, '.
'but no such icon exists.',
'default'));
}
if ($milestone === null) {
throw new Exception(
pht(
'Project icons must include one icon marked with special attribute '.
'"%s", but no such icon exists.',
self::SPECIAL_MILESTONE));
}
}
private static function getColorSpecifications() {
return PhabricatorEnv::getEnvConfig('projects.colors');
}
public static function getColorMap() {
$specifications = self::getColorSpecifications();
return ipull($specifications, 'name', 'key');
}
public static function getDefaultColorKey() {View on GitHub (pinned to 5720a38cfe)