Closed Bug 538473 Opened 16 years ago Closed 16 years ago

category totals should be JSON numbers, not JSON strings

Categories

(Websites Graveyard :: getpersonas.com, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: myk, Unassigned)

References

()

Details

The data feed <http://www.getpersonas.com/static/index_1.json> represents category totals as JSON strings, but those values are JSON numbers and should be represented as such.
The same is true for the grand total across all categories.
Target Milestone: --- → 2.5
r63515 For QA: Might take an hour or two to reflect changes (once stage is back up). The 'total' attributes should not be in quotes: total: "67219" should be total: 67219 Along with totals for each category.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reopening; there's no "total" in http://getpersonas.stage.mozilla.com/static/index_1.json; did the file get truncated somehow?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #3) > Reopening; there's no "total" in > http://getpersonas.stage.mozilla.com/static/index_1.json; did the file get > truncated somehow? Whoops, sorry; wrong file (didn't know we had a getpersonas.stage.*). http://personas.stage.mozilla.com/static/index_1.json is fine. Closing, then verifying.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Spoke too soon; (gotta stop working on two projects at the same time!) http://personas.stage.mozilla.com/static/index_1.json still yields: {"total":"15892","featured":
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Verified FIXED: {"total":15890,...{"name":"Abstract","total":4876,
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.