Closed Bug 960420 Opened 12 years ago Closed 12 years ago

App hangs when syncing with Evernote when there's nothing to update

Categories

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

defect
Not set
normal

Tracking

(b2g-v1.3 verified, b2g-v1.3T fixed)

RESOLVED FIXED
1.3 C3/1.4 S3(31jan)
Tracking Status
b2g-v1.3 --- verified
b2g-v1.3T --- fixed

People

(Reporter: yor, Assigned: yor)

Details

Attachments

(1 file)

44 bytes, text/x-github-pull-request
ranbena
: review+
Details | Review
Seems to be caused by a "divide by zero" bug here: this.processSyncChunkList = function() { var chunk = null; var remainingSyncChunks = syncList.notebooks.length + syncList.notes.length + syncList.expungedNotebooks.length + syncList.expungedNotes.length; var percentage = ((totalSyncChunks - remainingSyncChunks) * 100) / totalSyncChunks; self.updateProgressBar(percentage);
Assignee: nobody → yor
Status: NEW → ASSIGNED
Attached file Pull request
Attachment #8361180 - Flags: review?(matias)
Comment on attachment 8361180 [details] [review] Pull request r+ for Matias
Attachment #8361180 - Flags: review?(matias) → review+
Keywords: checkin-needed
Master: c6d4be48af688fb317f1a80519b9cbeaae27b8c3
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C3/1.4 S3(31jan)
I was able to verify this issue as Fixed in the following build: v1.3 Environmental Variables: Device: Buri v1.3 MOZ BuildID: 20140410004002 Gaia: 62acb4b0e774b6709b8be400d849f807404bb21b Gecko: 94baf6039462 Version: 28.0 Firmware Version: v1.2-device.cfg
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: