Closed (fixed)
Project:
Web File Manager
Version:
6.x-2.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2010 at 14:27 UTC
Updated:
2 Dec 2010 at 19:27 UTC
Hi Guys
The field weight for WEBFM attachements is not being updated from CCK field management interface. The problem is a bad implementation of HOOK_content_extra_fields()
I'm attaching a patch that fixes the problem
| Comment | File | Size | Author |
|---|---|---|---|
| webfm.module.patch | 444 bytes | jm.federico |
Comments
Comment #1
nhck commentedNice find.
Confirmed&tested.
Comment #2
nhck commentedCommitted to HEAD http://drupal.org/cvs?commit=369222
Thank you for reporting this.
Comment #4
cgmonroe commentedDid this get tested with the changes made on this issue?
http://drupal.org/node/442336
That uses the "webfm-attachments" key and not the "webfm-attach" key that this patch uses.
Also, I think there may be issues with the default weight of 10. I think this tends to make the webfm attachments default to the top of the list. Not sure that's were it should be.
Comment #5
Onklo commented@#4 You are absolutely right. This patch breaks cck field weight in webfm 6.x-2.13-beta1.
I changed "webfm-attach" to "webfm_attachments" In webfm.module line 439 and the reordering worked again.
Before:
$extras['webfm-attach'] = array(After:
$extras['webfm_attachments'] = array(