Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segments filters > Bounced, Unsubscribed not working #1767

Closed
melyouz opened this issue May 20, 2016 · 5 comments
Closed

Segments filters > Bounced, Unsubscribed not working #1767

melyouz opened this issue May 20, 2016 · 5 comments
Labels
bug Issues or PR's relating to bugs

Comments

@melyouz
Copy link
Contributor

melyouz commented May 20, 2016

Description

Segments filters called "Bounced" and "Unsubscribed" not working as exepected (not applying. No contacts are added/removed to/from the segment)

Steps to reproduce

  • Create a Segment with filter "Unsubscribed" => Yes
  • Unsubscribe a Contact (manually or from email link)
  • Update segment contacts app/console mautic:leadlist:update
  • 0 Contacts added to the Segment
@BartKaminski
Copy link

Same problem with Bounced filter

@peteratnsight
Copy link

The issue is caused by

LeadListRepository at line 772: $q->expr()->eq($alias . '.channel', $channel) with $channel defined as 'email' in line 758 => causing a select query as .channel = email ....

Quick fix - change 758 to $channel = '"email"';

But the query expression definition certainly needs to be fixed for this.

@tiagorodriguesdev
Copy link

+1

Quick fix offered by @peteratnsight worked.

@alanhartless
Copy link
Contributor

This is fixed by #1836.

@tiagorodriguesdev
Copy link

Thanks @alanhartless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs
Projects
None yet
Development

No branches or pull requests

5 participants