Skip to content

Commit

Permalink
Fix DebugKit issue with RuleEventListener (NOJIRA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Feb 28, 2024
1 parent 622e15a commit 789de68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/Lib/Events/RuleBuilderEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ public function buildRules(Event $event, RulesChecker $rules) {

$subjectTable = $event->getSubject();

if(strncmp($subjectTable->getRegistryAlias(), "DebugKit.", 9)==0) {
// Skip DebugKit calls
return $rules;
}

$schema = $subjectTable->getSchema();

// We need to skip some metadata fields, including changelog and EIS fks
Expand Down

0 comments on commit 789de68

Please sign in to comment.