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

Bug 470149

Summary: Configuration Files: "File Is Too Large to Edit" should display MAX_EDITABLE_SIZE instead of CONFIG_REVISION_MAX_SIZE
Product: [Community] Spacewalk Reporter: John Matthews <jmatthew>
Component: WebUIAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.3CC: jason.dobies
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:30:18 UTC Type: ---
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: 456552    

Description John Matthews 2008-11-05 22:42:35 UTC
From satellite bug 433378


Description of problem:

Configuration files cannot be larger than 32k to be edited in Satellite 5.0

How reproducible:

Every time

Steps to Reproduce:

1) Upload a configuration file larger than 32k (for example, 32.5k)
2) Try to edit configuration file

Actual results:

Satellite complains that the file is to large to be edited and that it must be
less than 128k to be edited. 

Expected results:

No error message, either 32k or 128k should be the upper limit for editable
configuration file. The message in this form is highly misleading, to say the
least.

Comment 1 John Matthews 2008-11-05 22:45:02 UTC
Fixed in commit:
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commit;h=37e91c989cb1656c71ff5e543cf572d44a46560a


WebUI now displays:

File Is Too Large to Edit
You can't edit this file here because it is too large (files must be less than 32 KB to be editable in this form). You can, however, download this file, edit it locally on your computer, and upload your changes here.