Bug 497910 - Editing Cobbler Snippets in WebUI removes some special characters.
Summary: Editing Cobbler Snippets in WebUI removes some special characters.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Jesus M. Rodriguez
URL:
Whiteboard:
Depends On:
Blocks: space06
TreeView+ depends on / blocked
 
Reported: 2009-04-27 20:12 UTC by Jeremy Mueller
Modified: 2009-09-10 12:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-10 12:06:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeremy Mueller 2009-04-27 20:12:26 UTC
Description of problem:

If you edit a Cobbler snippet through the WebUI, you will lose the following characters:
< (less than)
> (greater than)
{ (left curly bracket)
} (right curly bracket)
( (left parenthesis)
) (right parenthesis)

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1.  You may have to run "chown tomcat.tomcat /var/lib/cobbler/snippets" so that the WebUI can write to the snippet files.
2.  Create a Cobbler snippet through the WebUI containing the above characters.
3.  Save the snippet and either view it again through the WebUI or the command line.
  
Actual results:

The six special characters mentioned above (<>,(),{}) are removed from the file.

Expected results:

No characters are stripped from the file.

Additional info:

Comment 1 Justin Sherrill 2009-07-31 16:24:50 UTC
This appears to be fixed in the current devel code.  Couldn't find the commit sadly, but moving to on_qa for more testing.

Comment 2 Miroslav Suchý 2009-09-10 12:06:03 UTC
Spacewalk 0.6 released


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