Bug 795834 - If you use the spacewalk xmlrpc api to create or update a config file the whitespaces at beginning and end of the file are removed
Summary: If you use the spacewalk xmlrpc api to create or update a config file the whi...
Keywords:
Status: CLOSED DUPLICATE of bug 595500
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space17
TreeView+ depends on / blocked
 
Reported: 2012-02-21 15:54 UTC by hwinther
Modified: 2012-03-07 10:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-21 16:27:35 UTC
Embargoed:


Attachments (Terms of Use)
a python script to illustrate the issue (883 bytes, text/plain)
2012-02-21 15:56 UTC, hwinther
no flags Details

Description hwinther 2012-02-21 15:54:20 UTC
Description of problem:
If you use the spacewalk xmlrpc api to create or update a config file the whitespaces at beginning and end of the file are removed. 
I have included a small python script to illustratate the issue.


How reproducible:
make a xmlrpc connection and create a file with whitespaces at beginning and/or end of the file with the api call "configchannel.create".

  
Actual results:
The white spaces are removed.


Expected results:
The white spaces should be in the file.

Comment 1 hwinther 2012-02-21 15:56:22 UTC
Created attachment 564729 [details]
a python script to illustrate the issue

Comment 2 Tomas Lestach 2012-02-21 16:27:35 UTC
This has been addressed in Spacewalk 1.2.

Please, check BZ#595500 for more information.

*** This bug has been marked as a duplicate of bug 595500 ***


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