Closed Bug 875854 Opened 12 years ago Closed 12 years ago

[Settings] add missing settings to settingsDB

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gwagner, Assigned: gwagner)

References

Details

Attachments

(1 file)

45 bytes, text/x-github-pull-request
vingtetun
: review+
Details | Review
There are missing settings in settings.py
Attached file PR
Assignee: nobody → anygregor
Attachment #753890 - Flags: review?(21)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-b2g: --- → leo?
Hi Gregor, You're also removing some settings, can we be sure they are not used by anyone else? (Or can no one else use them?) Triage wants to know if these changes are safe for all other apps. Thanks.
Flags: needinfo?(anygregor)
(In reply to Gregor Wagner [:gwagner] from comment #2) > "ril.sms.requestStatusReport.enabled": False, This should be enabled by default, or you'll get several Gecko test case[1] fails. But, it's true Gecko test cases should never be affected by Gaia changes. Filed bug 883798 for this. [1]: https://mxr.mozilla.org/mozilla-central/source/dom/mobilemessage/tests/marionette/test_getmessage.js#73 , https://mxr.mozilla.org/mozilla-central/source/dom/mobilemessage/tests/marionette/test_outgoing.js#37 , https://mxr.mozilla.org/mozilla-central/source/dom/mobilemessage/tests/marionette/test_outgoing_delete.js#38
No STR, no user impact, no description of which settings are missing, so cannot block on this. If you think we can't wait until 1.2, please renominate with clearer rationale.
blocking-b2g: leo? → -
(In reply to Wayne Chang [:wchang] from comment #3) > Hi Gregor, You're also removing some settings, can we be sure they are not > used by anyone else? (Or can no one else use them?) > > Triage wants to know if these changes are safe for all other apps. > > Thanks. I just moved them around so they are ordered alphabetically.
Flags: needinfo?(anygregor)
(In reply to Dietrich Ayala (:dietrich) from comment #5) > No STR, no user impact, no description of which settings are missing, so > cannot block on this. If you think we can't wait until 1.2, please > renominate with clearer rationale. Well missing settings can lead to undefined behavior, security risks, crashes... Pick your poison. I don't know if this is actually the case but we made it clear a few times that using the settigs API without a default setting will lead to problems.
Depends on: 884906
We need to uplift the |ril.sms.requestStatusReport.enabled| entry to b2g18 to fix bug 887815, comment #8.
blocking-b2g: - → leo?
And there is near zero chance this can cause problem. Unused settings are unusued anyway, and used settings will be happy to have default values.
OK. I see. I can work out another solution on the Gecko part.
No longer blocks: 887815
blocking-b2g: leo? → ---
I guess Julien said we should take this patch :)
OK. Anyway, I provide a patch at Bug 887815 to set |ril.sms.requestStatusReport.enabled| to false by default if it's not available. This way should also work.
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: