Closed Bug 1048352 Opened 10 years ago Closed 10 years ago

All alarms get enabled when app is opened

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2.1 S2 (15aug)

People

(Reporter: gwagner, Assigned: mcav)

References

Details

(Keywords: dogfood)

Attachments

(1 file)

If I open the clock app, every single alarm gets activated and the bell sign shows up in the status bar.
I can show you on my device if you can't reproduce. This is pretty annoying :)
Flags: needinfo?(m)
Flags: needinfo?(doliver)
Keywords: dogfood
Initial investigation shows that this is cosmetic only, i.e. the alarms are not actually reenabled on startup. Similarly, the bell icon is controlled by Clock and also incorrectly displayed.
Assignee: nobody → m
Flags: needinfo?(m)
Flags: needinfo?(doliver)
Target Milestone: --- → 2.1 S2 (15aug)
Comment on attachment 8471762 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22794 The 'untoggle an alarm' action previously didn't persist the alarm IndexedDB representation (though it did remove the mozAlarm).
Attachment #8471762 - Flags: review?(mmedeiros)
Comment on attachment 8471762 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22794 LGTM. changes are minimal (logic is basically the same) but now it waits for the promises to resolve and persists the data to the DB.
Attachment #8471762 - Flags: review?(mmedeiros) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 1055229
Hi Marcus,Miller I would like to confirm one thing because I found a bug but I am not sure this bug if its side effect for this ticket. When user set up a new alarm, actually the bell icon has to show up in the status bar, but I can see it now. Could you double check this situation. If this is not a side effect I will mark this ticket to RESOLVED and then file a new bug. [Environment] Gaia 3584b2723412ed3299c6761f465885d80651c87e Gecko https://hg.mozilla.org/mozilla-central/rev/e7806c9c83f3 BuildID 20140820160201 Version 34.0a1 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014
Flags: needinfo?(miller)
Flags: needinfo?(m)
[Environment] Gaia e424c85eda87a40c0fa64d6a779c3fa368bf770b Gecko https://hg.mozilla.org/mozilla-central/rev/daa84204a11a BuildID 20140824160205 Version 34.0a1 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014 [Result] I refresh a new build today, above issue has not occurs. I marked it to VERIFIED.
Status: RESOLVED → VERIFIED
Flags: needinfo?(miller)
Flags: needinfo?(m)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: