Closed Bug 769508 Opened 12 years ago Closed 12 years ago

When extensions.sqlite is corrupt, addons that were previous enabled should be detected as being already installed

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Unfocused, Assigned: Unfocused)

References

Details

When we find that extensions.sqlite is corrupt, we rebuild the data by detecting addons on disk - which makes them look like foreign installs, so we open up about:newaddon. 

We should be doing some heuristics to figure out whats a new install and what isn't. We can detect if an addon was already enabled (and therefore installed) before the DB corruption by looking at extensions.ini and extensions.bootstrappedAddons. I thought we were doing this already - maybe a regression?
I think my patch in bug 671894 takes care of this, I have just failed to find time to finish the last bits of it :(
Indeed, handled by bug 671894 - that's where I remembered it from!
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
Depends on: 671894
Fixed via bug 671894.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.