Bug 885033 - CCS/CCP syntax error if wrong input is provide during edit
Summary: CCS/CCP syntax error if wrong input is provide during edit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-wallaby-tools
Version: 2.2
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: 2.3
: ---
Assignee: Robert Rati
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-07 10:38 UTC by Lubos Trilety
Modified: 2013-03-19 16:39 UTC (History)
3 users (show)

Fixed In Version: condor-wallaby-tools-5.0.5-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-19 16:39:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.