Closed
Bug 1176187
Opened 9 years ago
Closed 4 years ago
Lazy HomeProvider SQLite migration is only triggered from JavaScript
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: sebastian, Unassigned)
References
Details
While developing a new home panel layout that required a database migration, I noticed that the migration code inside HomeProvider.jsm is only lazily triggered when an addon is actively using a database connecting (getDatabaseConnection()).
The Java code that is building the panel UI does not trigger the migration and therefore has to be backwards compatible across all schema versions (theoretically). This adds some complexity.
We could:
* Trigger the migration from the Java side too. That's probably rather complex.
* Perform the migration not lazily but as soon as HomeProvider.jsm is loaded (potential race condition?).
Reporter | ||
Updated•9 years ago
|
Blocks: home-panels
Updated•9 years ago
|
Comment 1•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•