aliases/implications: remove 'error' state.

Remove the error status from aliases and implications. Aliases and
implications normally shouldn't fail because they're validated
beforehand. If they do, just let the delayed job itself record the
failure.

Also disable the delayed job from retrying if the alias/implication
somehow fails.
This commit is contained in:
evazion
2020-12-01 16:01:30 -06:00
parent 8717c319ab
commit 4741a52cc4
7 changed files with 2 additions and 15 deletions

View File

@@ -26,7 +26,6 @@ class TagAliasTest < ActiveSupport::TestCase
should allow_value('active').for(:status)
should allow_value('deleted').for(:status)
should allow_value('error: derp').for(:status)
should_not allow_value('ACTIVE').for(:status)
should_not allow_value('error').for(:status)

View File

@@ -22,7 +22,6 @@ class TagImplicationTest < ActiveSupport::TestCase
should allow_value('active').for(:status)
should allow_value('deleted').for(:status)
should allow_value('error: derp').for(:status)
should_not allow_value('ACTIVE').for(:status)
should_not allow_value('error').for(:status)