Comment 4 for bug 1017297

Revision history for this message
Curtis Hovey (sinzui) wrote :

Hi Julian.

Here is some information about QuestionSet.findExpiredQuestions(). The query discounts assigned questions and those linked to bugs. It looks for questions where the Question.datelastresponse and Question.datelastquery are both older than 15 days old.

In your example then, Lp believed that the neither you or the asker has pursued the question-answer dialogue since 2012-06-09. We can see the response on the 8th. So what was the response on the 22nd? I suspect the Dan used the Comment action, which I believe is an aside from the dialogue....https://answers.launchpad.net/maas/+question/199796/+history

The question's two crucial timestamps are set when the message is added via _newMessage(...update_question_dates=True). The default is true, The Question.addComment() action does not change the timestamps and it is the only callsite that passes False. We certainly do not want it to change the timestamps if the question is SOLVED. Maybe you want comments to update the stamps. Maybe you can remove the kwarg and make _newMessage and make it smarter...any message when the question is not solved updates the timestamps.