Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1162862 - Fail to change configuration file type from binary to Text.
Summary: Fail to change configuration file type from binary to Text.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 2.2
Hardware: Unspecified
OS: Linux
urgent
medium
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space23
TreeView+ depends on / blocked
 
Reported: 2014-11-11 21:39 UTC by Stephen Herr
Modified: 2015-04-14 19:03 UTC (History)
4 users (show)

Fixed In Version: spacewalk-java-2.3.89
Doc Type: Bug Fix
Doc Text:
Clone Of: 1069101
Environment:
Last Closed: 2015-04-14 19:03:27 UTC
Embargoed:


Attachments (Terms of Use)

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


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