Closed Bug 1024863 Opened 11 years ago Closed 11 years ago

Safeguard against potential race condition

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S4 (20june)
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

(Whiteboard: [p=2],[systemsfe])

Attachments

(1 file)

Lucas handed me his phone earlier to debug a weird problem where there were multiple duplicates of apps. I'm not sure how he generated them, but I noticed an error message in the log. E/GeckoConsole(23057): [JavaScript Error: "TypeError: appObject is undefined" {file: "app://verticalhome.gaiamobile.org/js/sources/bookmark.js" line: 135}] This would prevent our auto-cleaner from running, so we should safeguard that (so at least invalid results can go away)
Attached file Github pull request
Review-stamp anyone? :)
Attachment #8439699 - Flags: review?(jlal)
Attachment #8439699 - Flags: review?(crdlc)
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
Comment on attachment 8439699 [details] [review] Github pull request Gave my comments in person.. if we land this lets land it will logging (+ stack ideally) so we can figure out which items this is happening to and where the add was called from so we can fix the real issue rather then just work around it.
Attachment #8439699 - Flags: review?(jlal) → review+
Attachment #8439699 - Flags: review?(crdlc)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 8439699 [details] [review] Github pull request This is required for the vertical homescreen. It's been baking on master for several days and should be safe to uplift. Thanks!
Attachment #8439699 - Flags: approval-gaia-v2.0?(bbajaj)
Attachment #8439699 - Flags: approval-gaia-v2.0?(bbajaj) → approval-gaia-v2.0+
Target Milestone: --- → 2.0 S4 (20june)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: