Closed Bug 567080 Opened 14 years ago Closed 14 years ago

extensions.sqlite not updated correctly

Categories

(Toolkit :: Add-ons Manager, defect)

All
Linux
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX

People

(Reporter: wolfiR, Unassigned)

References

Details

I'm running Fennec + xulrunner (20100515) and noticed the following:

I have system addons installed in $FENNEC/extensions which had maxversion set to 1.1.* and I'm running 2.0a1pre now. So they were disabled correctly.
I've bumped the maxversion for those addons and restarted Fennec so that the changes would get picked up but they weren't. Addons are still disabled and so I was checking extensions.rdf (finding out that the data there is migrated to extensions.sqlite apparently). Also checked extensions.sqlite then and the maxversion there is still 1.1.* instead of 2.0.*.
What platform are you testing on? Do you know what filesystem your profile uses?
Linux ARM
FS: ext4
Do you happen to know if the modification time of the directory containing the add-on changed when you modified the install.rdf file?
In the case I noticed it I haven't edited the install.rdf directly but replaced the system below the profile. So it can happen that mtime is the same systemwise while contents have changed :-(
For systems using an image which can be replaced/updated that's probably a valid usecase.
You could argue that we should check the modification time of install.rdf rather than (or as well as) the directory, but it sounds like that wouldn't help you here anyway. We can't reload install.rdf on every startup, it'd kill Ts.
We can't just update the db on every startup so I don't think there is anything we can do here.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
See Also: → 1165534
You need to log in before you can comment on or make changes to this bug.