I upgraded to alpha 3 from alpha 2 and for some reason my node file attachments (uploaded with this module) no longer display at the bottom of the node content. I've attached an picture to show a working file attachments display with alpha 2 (I themed it with CSS). When I upgrade to alpha 3, the entire attachments box disappears although when I edit node, I see those files still recognized as uploaded.

Any suggestions on how to resolve this?

Comments

miglius’s picture

Under 'admin/settings/file/attach' there is a checkbox "Attachments - Show the attached files." Is it checked?

Can you switch to a default drupal theme and check if it works there?

spiffyd’s picture

I don't see the checkbox "Attachments - Show the attached files." there. However, all the Visibility Settings options are checked...

The same problem exists for core default themes as well so it doesn't look like its theme-specific...

miglius’s picture

StatusFileSize
new51.71 KB
new16.99 KB

I have attached the settings page screenshot with the "Attachments" checkbox checked. Is this checkbox on your config page? Second picture shows how attachments list should look like. Since it is shown on my setup, it's hard to troubleshoot your problem. Do you get any errors in the watchdog?

spiffyd’s picture

Do you know if update.php has to be run after the upgrade to alpha3?

miglius’s picture

It's a good practice to run update.php on any code update. It will do no harm if there actually no updates with the code upgrade.

spiffyd’s picture

It turns out that my File Attachments Submodule was not enabled previously, that's why there was not settings page for that. I believe I purposely turned it off because the simply attachments display (without previews and such) was more than sufficient (see the original pictures). Even after enabling the File Attachments Submodule, and making sure the settings you mentioned are checked, the File Attachments were still missing.

One thing to note is that I went into my Content Type settings and found File Attachments options to be enabled in both Workflow and the File Attachments category. I tried disabling the core Attachments option (under the File Attachment category) but that didn't seem to fix it.

I also tried attaching a file on the a fresh drupal install and ran into another problem.. after I uploaded the file and try to save node, I get "A file description can not be empty." even when its not empty.

All I simply want is to use FF to manage files and display attachments on nodes like how the initial uploaded pictures are shown! Nice and simple... any suggestions?

miglius’s picture

From your note that you see File Attachments in the Workflow fieldset I assume that you have core Upload module enabled. Please disable is as FileFramework is a replacement for it.

miglius’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
johanneshahn’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

try latest stable