Closed (fixed)
Project:
FileField Sources
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2010 at 00:09 UTC
Updated:
2 Jul 2010 at 05:20 UTC
Editing a node gives the warning:
Warning: Missing argument 2 for filefield_edit_access() in filefield_edit_access() (line 486 of /Users/nate/Sites/drupal6/sites/all/modules/filefield/filefield.module).
This is caused by a recent change in FileField to correctly check access permissions. See #696906: filefield_edit_access() and filefield_view_access() should use content_access() instead of checking content_permissions specific.
The parameters for filefield_edit_access() have changed to actually allow it to check the permissions correctly if a field is shared between multiple content types. This patch should correct the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| filefield_sources_access.patch | 680 bytes | quicksketch |
Comments
Comment #1
quicksketchCommitted. Be sure to use the 1.1 version of FileField Sources with FileField 3.4 and higher.
Comment #2
j0nathan commentedHi quicksketch,
You say:
On the project page I don't see version 1.1, I see:
6.x-1.0 2010-Mar-02
6.x-1.x-dev 2010-Jun-17
Which version should I use?
Do you plan to release 1.1 soon?
Comment #3
sinasalek commentedI don't see any 1.1 as well
Comment #4
quicksketchSorry the 1.1 version is currently pending. I updated the project page before I actually made a release. It should be out in the next few hours.
Comment #5
quicksketch1.1 release it now out.
Comment #6
sinasalek commentedThanks