Bug 711803 - 'File not found' error is returned by browser when trying to download an empty configuration file
Summary: 'File not found' error is returned by browser when trying to download an empt...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-06-08 14:33 UTC by Pavel Novotny
Modified: 2014-07-04 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:25:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Novotny 2011-06-08 14:33:03 UTC
Description of problem:
If you try to download an empty configuration file via WebUI, browser returns error 'File not found'.

Version-Release number of selected component (if applicable):
spacewalk-java-1.2.39-82.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a configuration channel containing an empty file (i.e. with no content specified). 
2. In WebUI, go to page Configuration -> Configuration Files -> <your_empty_config_file>
3. Click on 'download file' link 
  
Actual results:
Firefox 4 returns error message 'File not found' (or 'This webpage is not found' in case of Google Chrome). 

Expected results:
Download the empty file.

Additional info:
Other ways of how to get a config file are working just fine (i.e. API, rhncfg* scripts or scheduling of file deploy in WebUI).

Comment 1 Pavel Novotny 2011-06-08 16:03:38 UTC
This is a regression against Satellite 5.3.0 where no such behaviour has been observed.


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