If we use flexifield with his submodule "flexifield_filefield" and update filefield to the latest version 6.x-3.7, when we try to upload a file, drupal will return several warnings.

The following should fix the issue:

in flexifield_filefield.module - at row # 18
replace: 'access arguments' => array(3),
with: 'access arguments' => array(2, 3),

Hope to find this fix in next release of this module!

Regards.
G.

CommentFileSizeAuthor
#1 flexifield-n860358.patch811 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new811 bytes

Here's a patch of the code change based on the latest CVS code.

tic2000’s picture

Status: Needs review » Reviewed & tested by the community
K-Max’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

This is a dupe of #853742: filefield.module updates on filefield_edit_access() breaks flexifield saving. . Above code only fixes the problem partially.