Bug 885033

Summary: CCS/CCP syntax error if wrong input is provide during edit
Product: Red Hat Enterprise MRG Reporter: Lubos Trilety <ltrilety>
Component: condor-wallaby-toolsAssignee: Robert Rati <rrati>
Status: CLOSED CURRENTRELEASE QA Contact: Lubos Trilety <ltrilety>
Severity: medium Docs Contact:
Priority: low    
Version: 2.2CC: esammons, matt, rrati
Target Milestone: 2.3Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-wallaby-tools-5.0.5-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 16:39:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubos Trilety 2012-12-07 10:38:49 UTC
Description of problem:
When some bad line (which is not yaml correct) is put to edit tool ends with syntax error.

E.g. instead of level: 0, put just level
# ccs -a -p PAR
Console Connection Established...
fatal:  syntax error on line 11, col 2: `  must_change: false'

Version-Release number of selected component (if applicable):
condor-wallaby-tools-5.0.4-1

How reproducible:
100%

Steps to Reproduce:
see above
  
Actual results:
syntax error

Expected results:
re-edit should be invoked

Additional info:

Comment 2 Robert Rati 2013-01-07 16:07:50 UTC
Fixed upstream on:
BZ885033-metadata-fields-munged

Comment 4 Lubos Trilety 2013-01-10 16:35:27 UTC
Tested with:
condor-wallaby-tools-5.0.5-1

Tested on:
RHEL6 i386,x86_64
RHEL5 i386,x86_64

Bad lines invoke re-edit of the object or they are just ignored. No syntax error appeared.

>>> verified