Hide Forgot
Description of problem: Creation of empty configuration file by uploading it through WebUI does not work. WebUI does not allow to upload empty file. It is an inconsistency in general behaviour, because all other ways (API, rhncfg* scripts or manual creation via WebUI) work. Version-Release number of selected component (if applicable): spacewalk-java-1.2.39-82.el6sat.noarch How reproducible: always Steps to Reproduce: 1. On your local machine create an *empty* file you want to upload. 2. On Satellite, create a configuration channel and go to its details page. 3. Go to tab Add Files -> Upload File. 4. As 'File to Upload' select your file created in step 1. 5. Fill other mandatory fields and submit the form. Actual results: Big red error message is displayed: Error creating Configuration File Revision: File <your_file> is empty. Expected results: Allow to upload empty config file. Additional info:
Hmm, if you were notified, your file is empty, then it's not a bug. It's a new feature you require. Have you tried to upload the new file as Binary?
Uploading an empty file as Binary leads to the same result as with Text file type - a warning message.