Best practice forum (Archived)

Copied dynamic audiences losing rules when source deleted

 
Michael Trio
Copied dynamic audiences losing rules when source deleted
by Michael Trio - Wednesday, 27 March 2013, 1:17 PM
Group Partners

Hello!

Here's an issue I came across originally in 1.1, but looks to affect 2.2 as well:

1.) Create a dynamic audience and set audience rules

2.) Copy the audience

3.) Delete the audience created in step 1

4.) Check the rules for the copy of the audience

Result: The rules are missing

Expected: The rules copied from the original audience are still in tact.

Again, I ended up making a fix for this because the issue was urgent, which I've attached.  It apparently had to do with the collection not being updated to the new cohortid on creation.

Thanks,

Michael

me
Re: Copied dynamic audiences losing rules when source deleted
by George Angus - Wednesday, 27 March 2013, 2:25 PM
Group Totara

Hi Michael,

Thanks for this!

Ive raised a bug report, and the fix will be put into core for an upcoming release.

cheers,

George.