Closed Bug 940406 Opened 11 years ago Closed 11 years ago

JSON parse error when going back from form submission

Categories

(Webtools Graveyard :: DXR, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: erik, Assigned: espressive)

References

Details

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: nobody → schalk.neethling.bugs
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.