| Summary: | JSON editor appears completely blank if content contains any problems | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Grant Gayed <grant_gayed> |
| Component: | Editor | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti |
| Version: | 5.0 | ||
| Target Milestone: | 5.0 RC1 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
The editor now displays the error that happened while parsing the JSON text. Fixed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=73ab56d1d6334449bb7eb96a0ce6a96f0a5d352b |
- create a .json file with content: {a: "b"} - view some other file in the editor - view this .json file in the editor - it appears completely blank because the 'a' should be in quotes, so it's invalid - in cases like this the plug-in should at least display a message indicating that it tried to open the file, because the current behaviour gives the impression of something like an uncaught exception causing the editor to not be shown