** Branch linked: lp:~brian-murray/launchpad/595124
--
Launchpad's can_expire not being reset when comments added.
https://bugs.launchpad.net/bugs/595124
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu
So if can_expire really means may expire than the documentation should
be updated to reflect that. However, the following test passes and I'm
unsure why.
# Add a comment to the bug report and see if it can still expire
>>> from lp.bugs.tests.bug import create_old_bug
>>> ubuntu_bugtas
Some documentation, at least in lib/lp/bugs/doc/bugtask-expiration.txt,
about can_expire indicates that it only should indicate if the bug *may*
expire.
"IBug specifies two properties related to bug expiration. can_expire
tells you whether one or more of the bug's bug tasks may be expired, if
the
date_last_updated is not the issue. In comment 1 you can see that
date_last_updated is recent and less than 60 days old.
--
Launchpad's can_expire not being reset when comments added.
https://bugs.launchpad.net/bugs/595124
You received this bug notification because you are a member of Ubuntu
Bug
I've had a look now. can_expire is a wrapper around
findExpirableBugTasks, which only looks at date_last_updated and not
date_last_message. We should extend the query in findExpirableBugTasks
to consider date_last_message.
While I think this is an easy bug to fix, I'm hesitant to tag it
trivial,
Setting this back to New to make sure I take a look today.
** Changed in: malone
Status: Confirmed => New
--
Launchpad's can_expire not being reset when comments added.
https://bugs.launchpad.net/bugs/595124
You received this bug notification because you are a member of Ubuntu
Bugs, which
bug = launchpad.bugs[203251]
In [3]: bug.can_expire
Out[3]: True
In [4]: bug.date_last_updated
Out[4]: datetime.datetime(2010, 6, 15, 21, 53, 48, 256877, tzinfo=TimeZone(0))
I wonder how often the can_expire attribute of a bug report is updated.
** Changed in: malone
Status: New => Confir
** Also affects: malone
Importance: Undecided
Status: New
** Changed in: ubuntu
Status: New => Invalid
--
Launchpad's can_expire not being reset when comments added.
https://bugs.launchpad.net/bugs/595124
You received this bug notification because you are a member of Ubuntu
Bugs