Bug 203575

Summary: File Details shows contents for directories
Product: [Retired] Red Hat Network Reporter: Ken Ganong <kganong>
Component: RHN/Web SiteAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn420CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn500h Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-13 03:36:15 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: 192224    

Description Ken Ganong 2006-08-22 15:07:04 UTC
see bug summary.
The contents are blank, but that box should not show up at all for directories.

Comment 1 Grant Gainey 2006-09-28 12:21:21 UTC
In addition, there's no place on the file-details page that tells us what kind
of file this is.  Need to add this into additional-details or file-properties.

Comment 2 Grant Gainey 2006-09-28 14:42:30 UTC
Fixed and added file-type to the "File Details" section

Comment 3 Grant Gainey 2006-11-06 15:08:47 UTC
Moving to ON_DEV

Comment 4 Grant Gainey 2006-12-04 22:05:11 UTC
ON_QA, here we come!

Comment 5 wes hayutin 2007-01-09 14:10:50 UTC
This is working correctly, however instead of just not displaying the "file
contents" of a dir.. we should drop the sql insert of that field into the db.

Comment 6 Grant Gainey 2007-01-09 14:39:09 UTC
No.  RHNCONFIGREVISION.CONFIG_CONTENT_ID is a non-nullable column, that requires
a foreign-key-ref to the RHNCONFIGCONTENT entry for the revision.  Various
portions of cfg-mgt rely on there -ALWAYS- being a config-content for a revision
regardless of file-type.

If we had the freedom/time/resource to redo the Config-Mgt schema, we might do
such a thing - but the change would be large and far-reaching.

Comment 7 Brandon Perkins 2007-03-13 03:36:15 UTC
Closed in the rhn500h Release.