| Summary: | [problems] The metadata object passed through 'Show Problems' is incomplete | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | Client | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 12.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Steps: 1. create a new empty project 2. add a .tern-project file with the following contents: { "plugins": {}, "libs": ["ecma5"], "ecmaVersion": 5, "dependencyBudget": "A" } 3. select the project, run the Show Problems menu item 4. notice the resulting view is empty, even though there is a problem in the .tern-project file Debugging through and our validator check to make sure we are in a .tern-project file, it fails because 'metadata.name' is undefined. The platform editorContext provides this value, and so should the editorContext passed through the problems view.