Reported on github
opened 08:17PM - 19 May 22 UTC
bug
needs-triage
### Mautic Version
4.2.x series
### PHP version
7.4+
### What browsers are y… ou seeing the problem on?
Chrome
### What happened?
I accidently removed a tag on thousands of contacts that was assigned to a segment filtered with that tag.
I figured since those contact does not have any other tags on it then I could create a segment and set filter to tag -> empty then create a segment campaign to add the tag back on to those with empty tags.
But the the contact with no tags are not being added into segment with filter set at tag -> empty
The cron job is working fine because other filtering being processed .. just not the tag "empty"
### How can we reproduce this issue?
Step 1: Have contact or several contacts with no tags
Step 2: Create a segment and set filter with tag = empty
Notice that contacts with no tag are not being added to the segment.
### Relevant log output
_No response_
### Code of Conduct
- [X] I confirm that I have read and agree to follow this project's Code of Conduct
Unless I am doing something wrong or missing a step somewhere.
Please advise
I wanted to add that is seems the tag = empty is either bugged or not an allowed statement.
I was able to fix my contacts’ tag by. filtering LinkedIn = empty since none of the contact had LinkedIn filled in and restored tag back to all my contact again using segment campaign.