Closed mayfield closed 4 years ago
Seems to be related to a thread who's total message count is non zero but fetchPage() yields zero results.
I can repro by inserting a single message then adding replies to it. If the original is deleted it will produce the aforementioned error.
TBD:
Note, I only did line item 2 here. I can't do better on 1 without adding yet another db index and 3 wasn't justifiable considering how small that function already is. I'll just patch the bugs as they come.
https://sentry.io/organizations/forsta/issues/1345873241/?referrer=github_plugin