Open viktor-yunenko opened 3 years ago
@sebgrebe, FYI I also noticed that there's an issue with the outdated tags index, which could be related. It's why the 400 issue on tags is happening even although we fixed the bug on Sunday. The server returns Invalid pk "9" - object does not exist
, which usually means that there's a tag in algolia that doesn't exist on the backend. Eg that tag is on the stage server only.
I'm starting to look at this now, @victor-yunenko
@victor-yunenko, I found the culprit:
Finally, realize that update() does an update at the SQL level and, thus, does not call any save() methods on your models, nor does it emit the pre_save or post_save signals (which are a consequence of calling Model.save()).
eg a user approval through the admin panel doesn't push them into the index (tested on prod)
cc sebgrebe