JSON parse error when going back from form submission

RESOLVED FIXED

Status

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: erik, Assigned: espressive)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
1. Type "main" into the search box on the UI branch.
2. Wait a tick for the results to populate.
3. Hit Return.
4. Go Back.

"An error occured during the processing of your query. Please reload the page and try again. Error: SyntaxError: JSON.parse: unexpected character" appears.
(Assignee)

Updated

5 years ago
Assignee: nobody → schalk.neethling.bugs
Status: NEW → ASSIGNED
(Assignee)

Updated

5 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 1

5 years ago
Commit pushed to master at https://github.com/mozilla/dxr

https://github.com/mozilla/dxr/commit/e2a56f671351dd980330ca43d677e8c2d734c5ed
Fix Bug 940406, ensure JSON is always returned for Ajax request to avoid parse errors
You need to log in before you can comment on or make changes to this bug.