I ran fixaccount for user with the issue, so we don't have a testcase as such for this. It looks like you need a broken conversations.db for the error to come up. The specific brokenness is "mailbox got deleted, but a record for it didn't get removed from conversations.db for some reason" - so there's a G record with a folder number which is a broken pointer.
ellie:
Could we reproduce this from Cassandane by just having cyr_dbtool inject a bad G record into the cassandane account's conversations.db? Or does the bad record need to be bad in a particular way that's hard to anticipate?
bron:
I think we could - either by injecting a bad record, or by messing with $FOLDER_NAMES.
Putting this here so we don't completely forget it forever
bron:
ellie:
bron:
Putting this here so we don't completely forget it forever