Closed Bug 1134229 Opened 9 years ago Closed 9 years ago

Highest rated playlist doesn't work

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:2.2+, b2g-v2.1 ?, b2g-v2.1S ?, b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
2.2 S7 (6mar)
blocking-b2g 2.2+
Tracking Status
b2g-v2.1 --- ?
b2g-v2.1S --- ?
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: hub, Assigned: hub)

References

Details

(Keywords: regression)

Attachments

(2 files)

Discovered when writing test for bug 1122084. 

Manual STR:

- Put some music on your FxOS device
- Make sure they have no rating.
- Select a song (not at the top of any list) and apply a rating of 5.
- Select another song and apply a rating of 4.
- Go to playlist, tap "Highest rated"

Expected
- The two song mentionned above are at the top of the list in their rating order

Observed
- Nope. they are not.

This is master.
No-Jun, can you tell us if that works on 2.2?

Thanks,
Flags: needinfo?(npark)
Yes it does repro in latest 2.2, also, those two songs were actually at the bottom of the list.

Gaia-Rev        da509caa7395d3d090ce973e8de082b4680a590d
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/96da179a7d3a
Build-ID        20150218002515
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
FW-Incremental  eng.cltbld.20150218.041956
FW-Date         Wed Feb 18 04:20:07 EST 2015
Bootloader      L1TC000118D0
Flags: needinfo?(npark)
*sigh*

Shall we fix this in 2.2? I'll definitely will in 3.0 as I have a test for it.
blocking-b2g: --- → 2.2?
Assignee: nobody → hub
Status: NEW → ASSIGNED
Comment on attachment 8566165 [details] [review]
[gaia] hfiguiere:bug1134229-playlist-order > mozilla-b2g:master

This is a bug my test found.
Attachment #8566165 - Flags: review?(dflanagan)
Hub: Go ahead with fix and ask for approval (since it is a broken feature though happening in previous releases too)
Hub: Good find with the tests :)
blocking-b2g: 2.2? → 2.2+
Just checked that this feature was working in 2.0 and 2.1.  I just remembered that we do have moztrap test case to cover the rating scenario, so it should've been caught for previous releases.  Adding regression flag.
Keywords: regression
Moztrap is https://moztrap.mozilla.org/manage/case/3674/

That's what I'm automating in bug 1122084.
Attachment #8566165 - Flags: review?(dflanagan) → review?(dkuo)
Comment on attachment 8566165 [details] [review]
[gaia] hfiguiere:bug1134229-playlist-order > mozilla-b2g:master

Hub, thanks for catching and fixing this, the patch looks good to me, just a minor issue and please read it on github, thanks!
Attachment #8566165 - Flags: review?(dkuo) → review+
I was told it did affect 2.1 too.
status-b2g-v2.1: --- → ?
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8566165 [details] [review]
[gaia] hfiguiere:bug1134229-playlist-order > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Broken feature that did work before
[User impact] if declined: Feature won't work in 2.2 albeit in earlier version it does
[Testing completed]: I have a test in a different bug. Did use it to test (discover) this.
[Risk to taking this patch] (and alternatives if risky): none
[String changes made]: none
Attachment #8566165 - Flags: approval-gaia-v2.2?(bbajaj)
Target Milestone: --- → 2.2 S7 (6mar)
Attachment #8566165 - Flags: approval-gaia-v2.2?(bbajaj) → approval-gaia-v2.2+
Requesting QA verification on 2.2/3.0.
Keywords: verifyme
This bug has been successfully verified on latest Flame v2.2&3.0.
See attachment: verified_v2.2.mp4
Reproduce rate: 0/5

STR:
1.Copy some music into device.
2.Make sure they have no rating.
3.Select a song (not at the top of any list) and apply a rating of 5.
4.Select another song and apply a rating of 4.
5.Go to playlist, tap "Highest rated"
**The two song mentionned above are at the top of the list in their rating order.

Flame 2.2 build:
Build ID               20150310002536
Gaia Revision          166491b92278dc9e648f8d49ab02d9ca00d74421
Gaia Date              2015-03-06 18:26:27
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/1cda026f8996
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150310.042346
Firmware Date          Tue Mar 10 04:23:56 EDT 2015
Bootloader             L1TC000118D0

Flame 3.0 build:
Build ID               20150310160234
Gaia Revision          943c8b4039f59b08ba100390e164a076a20c892e
Gaia Date              2015-03-10 20:35:07
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/a9aff724afc7
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150310.192051
Firmware Date          Tue Mar 10 19:21:00 EDT 2015
Bootloader             L1TC000118D0
Status: RESOLVED → VERIFIED
Keywords: verifyme
QA Whiteboard: [MGSEI-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: