Closed Bug 980685 Opened 11 years ago Closed 7 years ago

[Sora][FTU] Year of setup wizard is too old when download software.

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sync-1, Unassigned)

Details

Attachments

(2 files)

DEFECT DESCRIPTION: Year of setup wizard is too old when download software. REPRODUCING PROCEDURES: 1. Download software; 2. Power on and check time of setup wizard; 3. The year is too old.->KO EXPECTED BEHAVIOUR: The time should be recent year. ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: REPRODUCING RATE: For FT PR, Please list reference mobile's behavior:
Attached image pic.
That's a bad flash. You need fix your build flashing approach here.
Component: Gaia::First Time Experience → Vendcom
Hello Jason, any further help on the right approach?What do your mean by bad flash?
Flags: needinfo?(jsmith)
(In reply to weijia from comment #3) > Hello Jason, any further help on the right approach?What do your mean by > bad flash? Don't know the approach of how you flash your builds. A bad flash means the build flashed onto the device likely had an error of some sorts, which caused the date to get set incorrectly. I've seen that happen before during the flashing process.
Flags: needinfo?(jsmith)
Hi Weijia - Maybe you can modify following code fragment in the /gaia/apps/communications/ftu/index.html to meet your needs: <input id="date-configuration" class="invisible" type="date" min="1970-1-1" max="2037-12-31"></input> Just modify the 1970-1-1 to whatever recent date you want Thanks Vance
Flags: needinfo?(liweijia)
in the \gaia\apps\communications\ftu\js\ui.js line 111: init: function ui_init() { _ = navigator.mozL10n.get; // Initialization of the DOM selectors this.domSelectors.forEach(function createElementRef(name) { this[toCamelCase(name)] = document.getElementById(name); }.bind(this)); var currentDate = new Date(); var f = new navigator.mozL10n.DateTimeFormat(); var format = _('shortTimeFormat'); this.timeConfigurationLabel.innerHTML = f.localeFormat(currentDate, format); this.dateConfigurationLabel.innerHTML = currentDate.toLocaleFormat('%Y-%m-%d'); ——date of setup wizard come from the currentDate value.But currentDate value is not the latest time,it is always equal 1970-×-*. Could you help me check it and fix it?Thank you.
Attached file log for FTU date
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: [Testing completed]: [Risk to taking this patch] (and alternatives if risky): [String changes made]:
Flags: needinfo?(liweijia)
link all Fire C (codename: Sora) bugs to a meta one.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 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: