First Quote Badge awarded after a month

Hmmm…

Looks like the quoted post was created here:

So looks like the scheduler is all right, the record was created just recently.

This post was rebaked a few days ago.

So somehow the quoted_post record only got created then.

I went ahead and fixed quoted_post so we stop destroying the record each time a rebake happens per this somewhat tricky commit:

https://github.com/discourse/discourse/commit/b2dc65f9534ea041818b9b968f60959b4f707705

I also picked a slightly better poison for the “grant date” we grant the badge at the date the post was originally created which may be different to the data a quote was inserted.

https://github.com/discourse/discourse/commit/1c57ae66571f99ce3249d798188c5234e4a78e93

7 Likes