Closed Bug 964485 Opened 9 years ago Closed 9 years ago

Calling `HomeStorage.deleteAll()` on a non-existing table throws error

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 965460

People

(Reporter: mcomella, Unassigned)

References

Details

This occurs if `HomeStorage.save()` has not yet been called (as it creates the table in the DB).

The error output is not very helpful: "Error: Error(s) encountered during statement execution".

Don't forget to add a test case! ^_^ See bug 963352.
Thanks for filing! I added a comment, but didn't get around to filing a bug:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/modules/HomeProvider.jsm#106
Blocks: lists
Fixed by bug 965460.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.