This seems to be caused by the lazy loading behavior of the package history:
when the get_installed_date is first called,the apt history is not initialized
yet, thus it will return None (and we don't display that), and adds an idle
callback to rescan the history, which will properly initialize it, that is why
subsequent calls work as expected.
I'm not sure what we should do here, as it's either performance (lazy loading
helps) or consistency (on first load, we won't have the installed date), I
guess this needs a decision to be taken, unless someone finds a third
alternative.
** Changed in: software-center (Ubuntu)
Assignee: Robert Roth (evfool) => (unassigned)
** Changed in: software-center (Ubuntu)
Status: In Progress => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/851280
Title:
Installed on date not displayed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/851280/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs