Closed Bug 907579 Opened 12 years ago Closed 8 years ago

[Buri][FOTA] The option "Share using USB" is being turned off after upgrading

Categories

(Firefox OS Graveyard :: General, defect, P2)

defect

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: sync-1, Unassigned)

Details

Attachments

(2 files)

Created an attachment (id=468420) 0724 DEFECT DESCRIPTION: The option "Share using USB" is not turned on by default. REPRODUCING PROCEDURES: 1.Download diff package,and install it,it will upgrade succeed. 2.Then settings->Media storage->find the option "Share using USB" is not turned on by default. --KO Note: Down the version from teleweb,the option "Share using USB" is turned on by default. EXPECTED BEHAVIOUR: The option "Share using USB" is turned on by default. ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: Medium REPRODUCING RATE: 3/3 For FT PR, Please list reference mobile's behavior: I think DB change from 1.0 to 1.1.
Clone from brother
Attached file 493744-adblog
Clone from brother
Attached image 0724
Component: Gaia → Gaia::Settings
This leads to USB connection function unusable.
blocking-b2g: --- → leo?
Tim, Please check this issue as it seems to be a GAIA issue.
Assignee: nobody → timdream
Flags: needinfo?(timdream)
It's an IndexDB issue actually. SettingsDB in v1.0.1 is "2" same with the version in v1.1 upgradeSchema isn't triggered. Unless user reset data to trigger upgradeSchema again. I think we are in the dilemma.
UMS is not enabled by default in either v1.0.1 nor v1.1 and we shouldn't turn on USB sharing secretly when upgrading. https://github.com/mozilla-b2g/gaia/blob/v1.0.1/build/settings.py https://github.com/mozilla-b2g/gaia/blob/v1-train/build/settings.py
Assignee: timdream → nobody
Component: Gaia::Settings → General
Flags: needinfo?(timdream)
Think this way, I'm using v1.0.1 phone, which I turned on intentionally. After upgrade the system. It's changing my intention. USB connection is off.
Flags: needinfo?(timdream)
Can QA reproduce this in our open sourced Gaia/Gecko? Can we reproduce this bug on devices other than Buri?
Flags: needinfo?(timdream)
Keywords: qawanted
Summary: [Buri][FOTA][Settings]The option "Share using USB" is not turned on by default. → [Buri][FOTA] The option "Share using USB" is being turned off after upgrading
As I said per comments 7#. I can surely say yes.
moving to koi? It is very very late to land anything to leo.
blocking-b2g: leo? → koi?
(In reply to weijia from comment #9) > Think this way, I'm using v1.0.1 phone, which I turned on intentionally. > After upgrade the system. > It's changing my intention. USB connection is off. This shouldn't happen. We store a default Value and a user Value in the settingsDB. When we read from the DB we always return the user Value before the default Value. When we upgrade the DB, we only overwrite the default Value so we never overwrite the user intention.
(In reply to Gregor Wagner [:gwagner] from comment #13) > This shouldn't happen. We store a default Value and a user Value in the > settingsDB. > When we read from the DB we always return the user Value before the default > Value. > When we upgrade the DB, we only overwrite the default Value so we never > overwrite the user intention. You mentioned upgrade the DB. Actually we don't have chance to upgrade DB. The DB versions are the same. The upgradeSchema isn't called.
(In reply to weijia from comment #14) > (In reply to Gregor Wagner [:gwagner] from comment #13) > > This shouldn't happen. We store a default Value and a user Value in the > > settingsDB. > > When we read from the DB we always return the user Value before the default > > Value. > > When we upgrade the DB, we only overwrite the default Value so we never > > overwrite the user intention. > You mentioned upgrade the DB. Actually we don't have chance to upgrade DB. > The > DB versions are the same. The upgradeSchema isn't called. So what's the problem here if we don't overwrite a setting?
On v1.0.1 only one option needs to turned on to enable usb storage connection. After upgrade to v1.1 there are two options addition with "Share using USB", which is turned off on default, to enable USB storage connection. User may confuse that the connection doesn't function.
(In reply to weijia from comment #16) > On v1.0.1 only one option needs to turned on to enable usb storage > connection. > After upgrade to v1.1 there are two options addition with "Share using USB", > which is turned > off on default, to enable USB storage connection. > User may confuse that the connection doesn't function. I see. So we should just increment the DB version. This will load settings.json and add the missing settings.
Yes, but we can't fixed this on v1.1. Or we can re-discuss the DB version strategy. The DB version number too close that we can't have any chance to use the number between. For example, v1.1 --> v1.2 the DB version from 2 --> 6 we have some chance to use 3,4,5 to fix some DB upgrade issue.
(In reply to weijia from comment #18) > Yes, but we can't fixed this on v1.1. Or we can re-discuss the DB version > strategy. > The DB version number too close that we can't have any chance to use the > number between. > For example, v1.1 --> v1.2 the DB version from 2 --> 6 we have some > chance to use 3,4,5 to fix > some DB upgrade issue. That is a good idea but we have to be really careful that we don't change the internal DB format with such a minor update. Changing the format with a minor update like 1.1.1 would be horrible to manage once we upgrade to 1.2. So for the settingsDB case where we only load a new json file and add/modify/delete some default values for settings the revision gap should work.
Hi, I could not find "Share using USB" option under Media storage in my unagi v1.0.1 and Buri/Hamachi v1.0.1. Who could mention the detail build information for QA? Thanks! Unagi build information: Gaia: 054cdc27404e2daca91d3065d9783681032b2151 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9c62297d11b0 BuildID 20130906043205 Version 18.0 Buri/Hamachi build information: Gaia: 054cdc27404e2daca91d3065d9783681032b2151 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9c62297d11b0 BuildID 20130906043205 Version 18.0
(In reply to hlu from comment #20) > Hi, > I could not find "Share using USB" option under Media storage in my unagi > v1.0.1 and Buri/Hamachi v1.0.1. Who could mention the detail build > information for QA? Thanks! > > Unagi build information: > Gaia: 054cdc27404e2daca91d3065d9783681032b2151 > Gecko: > http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9c62297d11b0 > BuildID 20130906043205 > Version 18.0 > > Buri/Hamachi build information: > Gaia: 054cdc27404e2daca91d3065d9783681032b2151 > > Gecko: > http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9c62297d11b0 > BuildID 20130906043205 > > Version 18.0 This option is for v1.1 Can't be find on v1.0.1. This is all about upgrade from v1.0.1 to v1.1 via FOTA.
base on comment 7 and comment 11, remove qawanted.
Keywords: qawanted
Another (and probably better) idea is to load settings.json whenever we upgrade gaia. So check for the buildID and load the new file when an upgrade occurred. This saves us from the revision number chaos.
Minus based on triage. The upgrade from 1.0.1 to 1.1 had the default setting off. The UX seems low here.
blocking-b2g: koi? → -
The default setting of remote debugging is intentionally off. Also, since bug 874484 landed, adb gets turned off after 12 hours anyways.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: