Epics not updated in the index when labels are deleted
Summary
On deleting the label the epics
index does not update the label_ids
field
Steps to reproduce
- setup gdk for elasticsearch, enable advanced search, and index everything
- add a label to an epic
- delete the label from the group
- watch
elasticsearch.log
to see if any epics are queued for indexing. Alrernatively, check on the epics index thelabel_ids
field still contains the deleted label
What is the current bug behavior?
no epics are queued for indexing
What is the expected correct behavior?
epics with the label being deleted are queued for indexing
Relevant logs and/or screenshots
Possible fixes
After fixing the bug don't forget to write a migration to fix the label_ids