Closed
Bug 1153781
Opened 10 years ago
Closed 10 years ago
[Calendar]The deleted events will be opened wrongly in notification.
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect, P2)
Tracking
(blocking-b2g:2.5+, b2g-v2.2 affected, b2g-master verified)
VERIFIED
FIXED
| blocking-b2g | 2.5+ |
People
(Reporter: wangxin, Assigned: gaye)
Details
Attachments
(5 files)
[1.Description]:
[Flame v2.2][Nexus5 v2.2&v3.0]We create an event form calendar and have a notification. If we delete the event, and then click the notification,we will enter a wrong page.
Occurence time:14:22
See attachments:logcat002.txt,VIDEO0516.mp4
[2.Testing Steps]:
1.Open the calendar app.
2.Click the '+' button.
3.Add an event for a few minutes.
4.Click the 'save' button.
5.Delete the event.
6.Drag down the notification,and click the event.
[3.Expected Result]:
6.We would see that the event have been delected.
[4.Actual Result]:
6.We will enter a wrong page.
[5.Reproduction build]:
Flame 2.2:[Affected]
Build ID 20150412002502
Gaia Revision cec00d643f517ffd96cde559cd3bbd43ab85816c
Gaia Date 2015-04-10 21:41:12
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5005522fd68e
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150412.040730
Firmware Date Sun Apr 12 04:07:41 EDT 2015
Bootloader L1TC000118D0
Device: Nexus 5 2.2[Affected]
Build ID 20150412002502
Gaia Revision cec00d643f517ffd96cde559cd3bbd43ab85816c
Gaia Date 2015-04-10 21:41:12
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5005522fd68e
Gecko Version 37.0
Device Name hammerhead
Firmware(Release) 5.0
Firmware(Incremental) eng.cltbld.20150412.045359
Firmware Date Sun Apr 12 04:54:15 EDT 2015
Bootloader HHZ12d
Device: Nexus 5 3.0[Affected]
Build ID 20150412160203
Gaia Revision 3c68964cb9fdba7cf0f6829b7f44562acaf1f1d7
Gaia Date 2015-04-10 14:38:19
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/0a46652bd992
Gecko Version 40.0a1
Device Name hammerhead
Firmware(Release) 5.0
Firmware(Incremental) eng.cltbld.20150412.193404
Firmware Date Sun Apr 12 19:34:19 EDT 2015
Bootloader HHZ12d
[6.Reproduction Frequency]:
Always Recurrence,5/5
[7.TCID]:
Free Test
Updated•10 years ago
|
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Comment 2•10 years ago
|
||
This issue had been failed verified on Flame 3.0
Reproducing rate: 5/5
Device: Flame 3.0[Affected]
Build ID 20150412160203
Gaia Revision 3c68964cb9fdba7cf0f6829b7f44562acaf1f1d7
Gaia Date 2015-04-10 14:38:19
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/0a46652bd992
Gecko Version 40.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150412.192808
Firmware Date Sun Apr 12 19:28:21 EDT 2015
Bootloader L1TC000118D0
Updated•10 years ago
|
Flags: needinfo?(twen)
Comment 3•10 years ago
|
||
Bug is easily reproduced and high user impact, nominate for 3.0 work.
blocking-b2g: --- → 3.0?
Flags: needinfo?(twen)
| Assignee | ||
Updated•10 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
| Comment hidden (typo) |
Comment 6•10 years ago
|
||
triage: blocking 2.5, we should delete any associated notifications when deleting events.
blocking-b2g: 2.5? → 2.5+
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gaye
Updated•10 years ago
|
Priority: -- → P2
Comment 7•10 years ago
|
||
| Assignee | ||
Comment 8•10 years ago
|
||
Sending review to jrburke since he's done notifications stuff with email (and since Miller's probably busy leaving Brazil).
Attachment #8656351 -
Flags: review?(jrburke)
Comment 9•10 years ago
|
||
Comment on attachment 8656351 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/31666
I just have a question around the usage of title in revokeNotificationsForEvent, asked in the pull request, but the rest looks good. Flip review back once resolved, or ping me in IRC if I misunderstand, still new to some of the code.
Attachment #8656351 -
Flags: review?(jrburke)
| Assignee | ||
Comment 10•10 years ago
|
||
Updated to use notification.data with an id instead of notification title following your suggestion!
Attachment #8663769 -
Flags: review?(jrburke)
Comment 11•10 years ago
|
||
Comment on attachment 8663769 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/31666
r+ on code inspection and trying the code on device. The notification closed after deleting the event.
Attachment #8663769 -
Flags: review?(jrburke) → review+
| Assignee | ||
Comment 12•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 13•10 years ago
|
||
Thanks for the review James!
| Reporter | ||
Comment 14•10 years ago
|
||
This bug has been verified as pass on latest Flame v2.5,
STR:
Same STR as comment 0.
Actual result:
When user deleted the event, the notification will disappear.
Flame 2.5(pass):
Build ID 20150922150204
Gaia Revision 68361828ae88dffd04b250121b5f2472a63f4bf0
Gaia Date 2015-09-22 03:46:57
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/a1ccea59e254a88f7bb44b0ad8a58b77b7eca339
Gecko Version 44.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150922.183124
Firmware Date Tue Sep 22 18:31:40 EDT 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
You need to log in
before you can comment on or make changes to this bug.
Description
•