Closed (fixed)
Project:
FileField
Version:
6.x-3.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2009 at 10:45 UTC
Updated:
13 Apr 2009 at 20:30 UTC
CCK version: 6.x-2.2
I have a filefield in a fieldgroup called "Attachments". If, in the filefield settings, "List field" is set to "enabled", an empty fieldgroup gets shown on the node page, although the filefield is empty. Can anyone confirm this?
Comments
Comment #1
quicksketchThanks for the report. I'm not seeing this immediately in the latest dev version of FileField. What display settings are you using for both the surrounding field group and for the file field?
Comment #2
quicksketchI might have fixed this with this commit:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/filefield/f...
This changes the normal generic file formatter. Previously it was printing out an HTML comment if the file was not being listed
<!-- you do not have access to view this file -->, which would cause the field to be printed if the files inside of it were not displayed. This function now returns an empty string.Comment #3
quicksketchMarking as fixed, please reopen if this problem still exists in the development version or after making the changes from #2.