Last Comment Bug 743181 - Filelink account summary shows wrong calculation for total & free space
: Filelink account summary shows wrong calculation for total & free space
Status: RESOLVED FIXED
:
Product: Thunderbird
Classification: Client Software
Component: Preferences (show other bugs)
: 13 Branch
: All All
: -- normal (vote)
: Thunderbird 14.0
Assigned To: Mike Conley (:mconley) - (needinfo me!)
:
:
Mentors:
Depends on:
Blocks: BigFiles
  Show dependency treegraph
 
Reported: 2012-04-06 01:22 PDT by Jb Piacentino
Modified: 2012-04-17 10:16 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
fixed


Attachments
TB vs Dropbox available storage (59.08 KB, image/png)
2012-04-06 01:22 PDT, Jb Piacentino
no flags Details
Patch v1 (5.84 KB, patch)
2012-04-17 07:30 PDT, Mike Conley (:mconley) - (needinfo me!)
mozilla: review+
mozilla: approval‑comm‑aurora+
Details | Diff | Splinter Review

Description Jb Piacentino 2012-04-06 01:22:18 PDT
Created attachment 612816 [details]
TB vs Dropbox available storage

Using my Dropbox free account, Thunderbird reports a total of 3.8GB storage space, of which 2.8GB is free space. In reality, as Dropbox account settings shows, my account has 2.8GB of total storage, of which 1.9GB is free. See attached screenshots of TB account settings (top) and Dropbox web account settings (bottom)
Comment 1 Jb Piacentino 2012-04-17 02:58:59 PDT
bump
Comment 2 Mike Conley (:mconley) - (needinfo me!) 2012-04-17 06:34:26 PDT
Looks like we're doing our math wrong here - I think our Dropbox implementing is interpreting the total amount of storage allocated as the amount of storage remaining.

Fix en route.
Comment 3 Mike Conley (:mconley) - (needinfo me!) 2012-04-17 07:30:49 PDT
Created attachment 615706 [details] [diff] [review]
Patch v1

Fixes Dropbox, and adds a test.
Comment 4 David :Bienvenu 2012-04-17 09:45:45 PDT
Comment on attachment 615706 [details] [diff] [review]
Patch v1

[Triage Comment]
thx, Mike.
Comment 5 Mike Conley (:mconley) - (needinfo me!) 2012-04-17 10:16:30 PDT
Thanks for the review / approval!

comm-central: http://hg.mozilla.org/comm-central/rev/bca6a0a0abb1
comm-aurora: http://hg.mozilla.org/releases/comm-aurora/rev/ad4e198624ad

Note You need to log in before you can comment on or make changes to this bug.