Closed Bug 1116099 Opened 9 years ago Closed 9 years ago

[E.me]Adding smart collection fails and you can't find it from smart collections list.

Categories

(Firefox OS Graveyard :: Gaia::Everything.me, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 affected, b2g-v2.0M affected, b2g-v2.1 affected, b2g-v2.1S unaffected, b2g-v2.2 affected, b2g-master unaffected)

RESOLVED WORKSFORME
Tracking Status
b2g-v2.0 --- affected
b2g-v2.0M --- affected
b2g-v2.1 --- affected
b2g-v2.1S --- unaffected
b2g-v2.2 --- affected
b2g-master --- unaffected

People

(Reporter: liuke, Unassigned)

References

Details

(Whiteboard: [systemsfe])

Attachments

(3 files)

Attached file logcat_0445.txt
[1.Description]:
[Woodduck v2.0][Flame v2.0&2.1&2.2][Homescreen]Adding smart collection fails and we can't find it from smart collections list, after you open task manager when device is in "Loading" screen.
Found time:04:45
Attachment:logcat_0445.txt & video_0445.mp4

[2.Testing Steps]: 
1.Long press Homescreen.
2.Tap Add smart collection.
3.Tap on a collection,such as "Funny" .
4.Tap "ok".
5.Open task manager while it is in "Loading" screen.
6.Tap Home button and check homescreen.
7.Repeat step 1.
8.Repeat step 2 and check collections list.

[3.Expected Result]: 
6."Funny" should be added to homescreen.
8."Funny" should be in the collections list.

[4.Actual Result]: 
6."Funny" can't be added to homescreen
8.You can't find "Funny" from list.

[5.Reproduction build]: 
Woodduck 2.0 build:
Gaia-Rev        add38992bbfb2bafca52ac1ce7f6231ac702675f
Gecko-Rev       8d951d9c4988e218ec08c6118a35c7faeb70af49
Build-ID        20141225143517
Version         32.0

Flame 2.0 build:
Gaia-Rev        01c32dcdc08b3c8fc8b3082870439fa2c1089f4f
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/b41c344ed82d
Build-ID        20141228000202
Version         32.0

FLame 2.1 build:
Gaia-Rev        73be51f998031f06db0cd660c0e388fa621c9f4c
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ea426e47bfc4
Build-ID        20141228001253
Version         34.0

Flame 2.2  build:
Gaia-Rev        3554ea9504046646b4679e3a61317c49fc55ca87
Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/67c42c076393
Build-ID        20141228010205
Version         37.0a1

[6.Reproduction Frequency]: 
occasionally Recurrence,5/20
TCID: Free Test
Attached video video_0445.mp4
Group: woodduck-confidential
Hi Amir and Ran, is this behavior an expected result?
Component: Gaia::Homescreen → Gaia::Everything.me
Flags: needinfo?(ran)
Flags: needinfo?(amirn)
Summary: [Homescreen]Adding smart collection fails and you can't find it from smart collections list. → [E.me]Adding smart collection fails and you can't find it from smart collections list.
This is not expected. The behavior should be either:
1. collection is created (displayed on homescreen) and not listed in suggestions list, or
2. collection is not created, in which case it should still be listed in the suggestions list.

collections existing in CollectionsDatabase are filtered out from the suggestions list:
https://github.com/mozilla-b2g/gaia/blob/master/apps/collection/js/create_collection.js#L139

This suggests the collection was created and exists in the CollectionsDatabase.

I would guess the activity is killed when switching to the task manager, before the homescreen is notified:
https://github.com/mozilla-b2g/gaia/blob/master/apps/collection/js/create_collection.js#L66
Flags: needinfo?(amirn)
Flags: needinfo?(ran)
Whiteboard: [systemsfe]
Attached video Video
This problem cannot be repro on latest build of Woodduck 2.0/Flame2.0, 2.1, 2.1s(512mb), 2.2, 3.0.  If anyone can repro it, reopen again.
See attachment: Verify_video.MP4
Rate: 0/10

Woodduck 2.0 build:
Build ID               20150302050313
Gaia Revision          a1b5959728c8bc2a82354e197bb161922d419866
Gaia Date              2015-02-13 09:00:02
Gecko Revision         d9b299dc1087f23c83321b4dccc92e0f52309e8e
Gecko Version          32.0
Device Name            jrdhz72_w_ff
Firmware(Release)      4.4.2
Firmware(Incremental)  1425243887
Firmware Date          Mon Mar  2 05:05:08 CST 2015

lame 2.0 build: 
Build ID               20150301000203
Gaia Revision          366aaa19ac474dc58b79d62a91cff41756ae9dfe
Gaia Date              2015-02-22 20:25:01
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/1bd33f5447d2
Gecko Version          32.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150301.034812
Firmware Date          Sun Mar  1 03:48:22 EST 2015
Bootloader             L1TC000118D0

Flame 2.1 build:
Build ID               20150301001349
Gaia Revision          5d3479fdd438412adee4452720856b6b771fe5cd
Gaia Date              2015-02-25 18:20:09
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/9bf4c663241f
Gecko Version          34.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150301.034808
Firmware Date          Sun Mar  1 03:48:19 EST 2015
Bootloader             L1TC000118D0

2.1S_512m build:
Build ID               20150301161204
Gaia Revision          a43d64ae01ef108aa4dcc971c770fecd8416a764
Gaia Date              2015-02-26 09:24:39
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/2437280c634f
Gecko Version          34.0
Device Name            scx15_sp7715ea
Firmware(Release)      4.4.2
Firmware(Incremental)  122
Firmware Date          Thu Feb  5 12:42:58 CST 2015

Flame 2.2 build:
Build ID               20150301002505
Gaia Revision          77609916ca5ab721150fab2b7bc5c37f43ee3a5a
Gaia Date              2015-02-27 16:35:06
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/27ab8aa34201
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150301.040042
Firmware Date          Sun Mar  1 04:00:53 EST 2015
Bootloader             L1TC000118D0

Flame 3.0 build:
Build ID               20150301010223
Gaia Revision          f34ce82a840ad3c0aed3bfff18517b3f6a0eb37f
Gaia Date              2015-02-27 15:48:31
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/eea6188b9b05
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150301.045059
Firmware Date          Sun Mar  1 04:51:10 EST 2015
Bootloader             L1TC000118D0
Status: NEW → RESOLVED
Closed: 9 years ago
QA Whiteboard: [MGSEI-Triage+]
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: