Closed Bug 980149 Opened 12 years ago Closed 12 years ago

Collections currently missing on 1.3

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jhammink, Unassigned)

Details

(Keywords: regression, Whiteboard: [systemsfe], burirun1.3-1)

Latest 1.3 nightly (gecko & gaia) from March 5 base image: 1.2-device.cfg STR: 1.) Flash the latest build for the version you are aiming to test 2.) On a clean system, pull Gaia locally with git installed by running "git clone https://github.com/mozilla-b2g/gaia.git" 3.) Pull the reference customization locally with git installed by running "git clone https://github.com/mozilla/qa-testcase-data.git" 4.) In the Gaia directory, run "git checkout branchname", where branchname equals the branch you are testing (e.g. if you want 1.2, you would run git checkout v1.2). I tried with both 1.2 and 1.3 5.) In the Gaia directory, run "MOZILLA_OFFICIAL=1 GAIA_DISTRIBUTION_DIR=../qa-testcase-data/customization/reference make production" Expected: You should get the reference customization, including collections. Actual: Reference customization is installed, but there are not customizations. NOTE: There is a slight possibility that the problem is with my customization, but I'd rather file this and get it looked at to be sure.
Nomming this because, if this is actually broken, it's kind of a problem.
blocking-b2g: --- → 1.3?
No longer blocks: 929572
No longer depends on: 951450
Upon deeper digging here, it may be the case that my customization has no collections in it. Need to dig into that.
Flags: needinfo?(jhammink)
blocking-b2g: 1.3? → ---
Flags: needinfo?(jhammink)
As you said in comment 2 you need to add collections in your customization homescreens.json I added: ["apps/homescreen/collections", "social"], ["apps/homescreen/collections", "games"], ["apps/homescreen/collections", "music"], ["apps/homescreen/collections", "showbiz"], and it works.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
I'll just add the following steps, for reference (it will save me from having to figure this out again in the distant future when I must next test this): 6.) edit the file ../qa-testcase-data/customization/reference/homescreens.json to contain collections. It should look something like this (note the syntax): {"homescreens": [ [ ["apps/homescreen/collections", "tv" ], ["apps/homescreen/collections", "funny"] ] , [ ["apps", "communications", "dialer"], ["apps", "sms"], ["apps", "browser"], ["apps", "camera"] ] ]} 7.) Make sure the folder under gaia contains collections "tv" and "funny": ls ../gaia/apps/homescreen/collections entertainiment local shopping sports funny music showbiz tv games news social 8.) then run the customization flash in step 5, and make sure the collections "tv" and "funny" are created. (they are :)
Blocks: 981244
No longer blocks: 981244
You need to log in before you can comment on or make changes to this bug.