Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1162862

Summary: Fail to change configuration file type from binary to Text.
Product: [Community] Spacewalk Reporter: Stephen Herr <sherr>
Component: WebUIAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: urgent    
Version: 2.2CC: cperry, nerawat, satqe-list, xdmoon
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.89 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1069101 Environment:
Last Closed: 2015-04-14 19:03:27 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:
Bug Depends On:    
Bug Blocks: 1207293    

Description Stephen Herr 2014-11-11 21:39:54 UTC
+++ This bug was initially created as a clone of Bug #1069101 +++

Description of problem:
Not able to change configuration file type from binary to Text.

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


How reproducible:
Always

Steps to Reproduce:
1. Create a text file.
2. Change it to binary file
3. then try to change it to back "Text File"

Actual results:
Not able to change file type

Expected results:
it should change from binary to text

Additional info:

* Regression , working fine in satellite 5.4
* Its a issue with satellite 5.5/5.6
* As per description given in satellite GUI it should work 

https://<satellite-fqdn>/rhn/configuration/file/FileDetails.do?cfid=1

~~~
Binary Files Are Not Editable
You can't edit this file because it is a binary file. (If you think that this file is incorrectly set as a 'binary' file, you may change this with the 'File Type' property above. After setting it as a plaintext file, you can edit it here.)

You can upload a new revision of this binary file below, however. 
~~~

Comment 1 Stephen Herr 2014-11-11 21:41:45 UTC
Committing to Spacewalk master:
bd29ea6734b80b8d710b75e78cfd1a2f47f1d88a

Comment 2 Stephen Herr 2014-11-24 19:07:06 UTC
Another committ needed: the URL should be changed to reflect the current config revision id when we update a config file.

Committing to Spacewalk master:
2040e68f6f5d8ef0fc70c203451ec15a1dae6c7e

Comment 3 Grant Gainey 2015-03-23 16:59:15 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 4 Grant Gainey 2015-04-14 19:03:27 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23