Closed Bug 857263 Opened 12 years ago Closed 10 years ago

[FHR] "Raw Data" view not displaying JSON

Categories

(Firefox Health Report Graveyard :: Web: Health Report, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dzeber, Unassigned)

References

Details

Attachments

(1 file)

I have a profile whose health report got corrupted by manually copying from another installation. It has errors logged in the JSON and no startup time data, so no plot is displayed in about:healthreport (as expected). However, the JSON is still in valid format, but it is not shown in the Raw Data view (the space is just blank). The JSON should still be displayed.
No longer depends on: 857227
See Also: → 857266
Providing initial triage, but I am not the final say. Definitely something we should fix, but I'm okay with not blocking beta.
Priority: -- → P2
Component: General → about:healthreport
Product: Webtools → Firefox Health Report
Showing a message in the RAW JSON is doable but, displaying is not, as the JSON gets parsed and will throw an error. I suppose we can still display the broken JSON but, do we really want to? Instead I think we need to inform the user that the received data was invalid. Thoughts?
In the case I was looking at, the payload was still a valid JSON object (which I thought should be parseable), but there was a problem with the amount and type of data that was present. The graph area was just blank with no message. My thought was that if I can look at the the raw JSON, at least I can try to understand what was happening. In this case, I opened the json file manually from my profile directory and saw that there were errors relating to appinfo. I thought it would be better if that could be displayed directly on the healthreport page.
about:healthreport switched to using v4/Telemetry as a source, so this doesn't apply anymore.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: