Closed Bug 970305 Opened 10 years ago Closed 10 years ago

[Dialer] Cannot make or receive calls when updating from 1.1 to 1.3

Categories

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

All
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(blocking-b2g:1.3+)

RESOLVED DUPLICATE of bug 956588
blocking-b2g 1.3+

People

(Reporter: amac, Unassigned)

Details

(Keywords: regression)

STR: 

1. Flash a phone with 1.1
2. Update via FOTA to 1.3

Expected: 
The phone works correctly. When the user tries to make a call the attention screen comes out. When an incoming call is received, the attention screen comes out.

Actual:

When trying to make or receive a call, a blank screen is shown (or it just don't switch from the main dialer screen). On the logcat the error:

E/GeckoConsole(  536): [JavaScript Error: "TypeError: Argument 1 is not valid for any of the 1-argument overloads of URL.createObjectURL." {file: "app://communications.gaiamobile.org/dialer/gaia_build_defer_oncall.js" line: 114}]

is shown.

Line 114 on the build I'm using is:

var self=this;var req=navigator.mozSettings.createLock().get('wallpaper.image');req.onsuccess=function cs_wi_onsuccess(){var image=URL.createObjectURL(req.result['wallpaper.image']);self.mainContainer.style.backgroundImage='url('+image+')';setTimeout(self._onWallpaperReady.bind(self));};req.onerror=this._onWallpaperReady.bind(this);},_onWallpaperReady:function cs_onWallpaperReady(){this._wallpaperReady=true;if(this._toggleWaiting){this.toggle(this._toggleCallback);this._toggleCallback=null;this._toggleWaiting=false;}},_transitionDone:false,_contactBackgroundWaiting:false,_contactImage:null,toggle:function cs_toggle(callback){if(!this._wallpaperReady){this._toggleWaiting=true;this._toggleCallback=callback;return;}


There's a second error shown:

E/GeckoConsole(  536): [JavaScript Error: "ConstraintError" {file: "app://communications.gaiamobile.org/dialer/gaia_build_defer_index.js" line: 141}]
Requesting 1.3+ because... well, we cannot do a FOTA for the devices currently on the street until this is fixed.

I'm going to try to describe a STR that doesn't require a FOTA to help with testing (this error and other possible update errors).
blocking-b2g: --- → 1.3?
blocking-b2g: 1.3? → 1.3+
Keywords: regression
Depends on: 956588
I've just applied that patch manually to the application.zip that's running on my phone and I can confirm it fixes this issue.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
No longer blocks: 1.3-data-migration
No longer depends on: 956588
You need to log in before you can comment on or make changes to this bug.