driverevent doesn't update xapian cache

Bug #1282080 reported by Harald Sitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kubuntu-notification-helper (Ubuntu)
Fix Released
High
Rohan Garg

Bug Description

    m_aptBackend = new QApt::Backend(this);
    if (m_aptBackend->init()) {

if there is no xapian cache (e.g. right after installation) or the cache is sufficiently outdated

QApt::Package *pkg = m_aptBackend->package(key);

will yield nullptr even if there actually is a package, it simply isn't in the xapian cache at the time.

this can lead to incorrectly not showing the notification

Tags: kubuntu
Rohan Garg (rohangarg)
Changed in kubuntu-notification-helper (Ubuntu):
status: Triaged → Fix Committed
Changed in kubuntu-notification-helper (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.