Closed Bug 903260 Opened 11 years ago Closed 11 years ago

[SMS][MMS] SettingsURL value is never used in sms/js/notification.js: Ringtones BROKEN.

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(b2g18 wontfix, b2g-v1.1hd wontfix)

RESOLVED FIXED
Tracking Status
b2g18 --- wontfix
b2g-v1.1hd --- wontfix

People

(Reporter: rwaldron, Assigned: rwaldron)

References

Details

Attachments

(1 file)

In this commit: https://github.com/mozilla-b2g/gaia/commit/90245e0e244063545b83f6b1f21279a04bb077d4#L6R11 The value isn't properly set to the localy cached settings object, later when the ringtone's Audio `src` is set, the value being set is `true`. This commit flagrantly ignored the review that I provided on an earlier version and changes the approach used from the last commit I was shown here: https://github.com/KevinGrandon/gaia/commit/a07ac05622f3e0089449cda37ddc078f2fce59eb#apps/gallery/test/unit/settings_url_test.js
Summary: [SMS][MMS] SettingsURL value is never used in sms/js/notification.js → [SMS][MMS] SettingsURL value is never used in sms/js/notification.js: Ringtones BROKEN.
This is the original commit that I reviewed https://github.com/mozilla-b2g/gaia/pull/11431
This is the "outdated discussion" where I clarified the correct (yet ignored) approach: https://github.com/mozilla-b2g/gaia/pull/11431#discussion_r5667602
Thanks for taking care of this so quickly! The offending bug should've definitely been split up into various meta bugs and have had the appropriate reviewers for each app. This is something that Julien brought up in the last gaia weekly meeting. Will be sure to follow that methodology from here on out.
Or you could ask different reviewers for different parts of your patch too, would work too :) But most importantly, follow recommandations from reviewers ;) Will review this shortly.
Comment on attachment 787947 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/11447 put some comments on github I'd like to see how my comment in https://github.com/mozilla-b2g/gaia/commit/90245e0e244063545b83f6b1f21279a04bb077d4#commitcomment-3828736 will evolve, I sincerely hope we can implement this SettingsURL stuff correctly...
(In reply to Julien Wajsberg [:julienw] from comment #6) > Comment on attachment 787947 [details] [review] > Github Pull Request https://github.com/mozilla-b2g/gaia/pull/11447 > > I'd like to see how my comment in > https://github.com/mozilla-b2g/gaia/commit/ > 90245e0e244063545b83f6b1f21279a04bb077d4#commitcomment-3828736 will evolve, > I sincerely hope we can implement this SettingsURL stuff correctly... Hi Julien, makes sense. I'm going to copy your comment to the bug for the pr (bug 806374), and request info on it - I didn't write the patch. Also - I am not opposed to backing this out if you feel strongly about it.
Comment on attachment 787947 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/11447 r=me with the nits in the test
Attachment #787947 - Flags: review?(felash) → review+
v1.1.0hd: 5628b2ca37bea107d5da7f03959f70def2d55676 v1.1.0hd: 63c8779713feab8dd6172496f4d5d3fe785c9927
so, it shouldn't have been pushed to v1-train, as bug 806374 is not on v1-train. Reverting.
Blocks: 806374
blocking-b2g: --- → leo?
blocking-b2g: leo? → ---
v1-train: reverted in f7d6c5fe66dc64ec86c9737b959e1ceb3cf4f707 Tim, I suppose the 1.1.0hd branch will get updated at the next merge ?
Flags: needinfo?(timdream)
v1.1.0hd: f7d6c5fe66dc64ec86c9737b959e1ceb3cf4f707
Merged.
Flags: needinfo?(timdream)
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: