Red Hat Bugzilla – Bug 203575
File Details shows contents for directories
Last modified: 2007-04-18 13:48:00 EDT
see bug summary.
The contents are blank, but that box should not show up at all for directories.
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.
Fixed and added file-type to the "File Details" section
Moving to ON_DEV
ON_QA, here we come!
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.
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.
Closed in the rhn500h Release.