Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 528204

Summary: "format on save" throws exception for content type that does not have a formatter
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: ClientAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 16.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-12-06 10:12:34 EST
Steps:
1. turn on "format on save" in the prefs
2. open a JS file > edit > formats on save (OK)
3. open a yaml file > edit > exception

The problem is if we don't have a delegate for the content type, we simply return 'undefined' from the formatter class.