Project

General

Profile

Actions

Bug #22139

closed

Running deleted campaign don't get their directive cleaned-up

Added by François ARMAND over 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - Campaigns
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

If a campaign is deleted when it was running (and so, the directive/rule were created), then the configuration elements are not cleaned up.

Then, if you try to create a new campaign with the same name, you get an infinite log that kill the server/fill the disks:

[2022-11-25 16:10:08+0000] ERROR campaign - Inconsistency: Cannot set directive with name '  #1' : this name is already in use.

(yes, name was empty, because I didn't noticed I forgot to put one both time)

Workaround: delete the new campaign, then create one with a different name.

Solution: directive/rule of a running event must be deleted if the campaign is deleted (and a generation triggered).
Bonus: make name mandatory for campaign.

Actions

Also available in: Atom PDF