Closed wmeijer221 closed 2 years ago
Ah, this is indeed a bug with the internal EmailIndexer library, with how it fetches tags using a comma-delimited group aggregation. I see your PR mitigates this by forbidding the use of commas, and I'll probably just merge that in the short term, but I expect that if/when I extract tags as fully-fledged entities (thus removing eager loading of tags), that this bug will be removed in the EmailIndexer library.
Whenever you add a tag that has a comma in it (e.g.
Something, Something Else
), two tags are addedSomething
andSomething Else
. Neither of these can be removed. Additionally, in the list of tags you can select from, it is still offered as one tagSomething, Something Else
. If you add that to an email, the two separate tags are added again (which you then can't remove).