phacility/phabricator · error · PhabricatorProjectTriggerCorruptionException
Trigger ruleset is corrupt, rule (of type "%s") does not val
Error message
Trigger ruleset is corrupt, rule (of type "%s") does not validate: %s
What it means
Error "Trigger ruleset is corrupt, rule (of type "%s") does not validate: %s" thrown in phacility/phabricator.
Source
Thrown at src/applications/project/storage/PhabricatorProjectTrigger.php:186
if (!isset($rule_map[$record->getType()])) {
if (!$allow_invalid) {
throw new PhabricatorProjectTriggerCorruptionException(
pht(
'Trigger ruleset is corrupt: rule type "%s" is unknown.',
$record->getType()));
}
$rule = new PhabricatorProjectTriggerUnknownRule();
} else {
$rule = clone $rule_map[$record->getType()];
}
try {
$rule->setRecord($record);
} catch (Exception $ex) {
if (!$allow_invalid) {
throw new PhabricatorProjectTriggerCorruptionException(
pht(
'Trigger ruleset is corrupt, rule (of type "%s") does not '.
'validate: %s',
$record->getType(),
$ex->getMessage()));
}
$rule = id(new PhabricatorProjectTriggerInvalidRule())
->setRecord($record)
->setException($ex);
}
$rule->setViewer($viewer);
$trigger_rules[] = $rule;
}
return $trigger_rules;
}View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/project/storage/PhabricatorProjectTrigger.php:186 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/a3664cfdcf06dae6.
Report an issue: GitHub.