Now that #1958264: Settings for displaying hidden files are all broken is working, dfletcher and I just uncovered some other bugs in how we handle the display hidden files.

If there's exactly 1 hidden file attached to a node, it's not displayed in a separate table at all. Once you attached a 2nd hidden file, they both appear.

Comments

dfletcher’s picture

Assigned: Unassigned » dfletcher
dfletcher’s picture

I am unsure of the reason but the fix from https://drupal.org/node/1961676 also caused this to start working. It's quite odd because the $second_table_flag condition has nothing to do with that piece of code, the second table really should have been added to $element.

Not sure if we need to investigate this further now that it is working as expected.

dww’s picture

Assigned: dfletcher » Unassigned
Status: Active » Closed (cannot reproduce)

Yeah, I just spent ~30 minutes with these two issues and I was also unable to figure out the underlying bug here. I'm a little concerned that the fix for #1961678 is just masking another bug in here, but we don't really have time/resources to keep pouring into this, so hopefully it'll all be working as expected now. ;)

Thanks!
-Derek