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

Bug 445194

Summary: Misleading 'Invalid indentation' error in the manifest editor caused by in-line comments
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: DeploymentAssignee: Maciej Bendkowski <maciej.bendkowski>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: maciej.bendkowski
Version: 6.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-09-26 08:46:59 EDT
1. Create a manifest.yml containing this:

---
applications:
- name: cfdebugtest2
  memory: 512M
  command: foo
  #command: npm start

2. An error appears on the commented-out line saying
> Invalid indentation: mixed spaces and tabs

Which is incorrect
Comment 1 Maciej Bendkowski CLA 2014-09-29 12:10:34 EDT
This seems trivial. I'm changing the bug summary since the manifest is in fact *not* being rejected. It's perfectly fine and the parser will do it's job. The problem is the misleading manifest editor validation error.