doubled padlocks
igorik - December 8, 2008 - 01:42
| Project: | CCK Field Privacy |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | obsidiandesign |
| Status: | patch (to be ported) |
Description
Hi
I have a doubled padlocks near checkbox fields and comboboxes
I attached a screenshot
thanks
Igorik
http://www.somvprahe.sk
| Attachment | Size |
|---|---|
| double_locks.gif | 28.05 KB |

#1
Hi
I found where the point could be, the problem is if I have set 'modify own cck field privacy' permissions for more than one role,
e.g. 'authenticated role' and 'editor role'
But - The test user (with doubled padlock) has the only one role - 'authenticated' role.
have a nice day
Igorik
http://www.somvprahe.sk
#2
What profile module are you using with it? Are they standard CCK fields, or a special type? Just trying to gather more info, thanks in advance - hopefully the solution is easy.
Bryan
#3
Hi
I am using content_profile + CCK
Other modules I am using in profile are e.g. CCK fieldgroup tabs, tabs, imagefield, filefield.
Igorik
#4
Please test the patch at #344372: Impromptu Dialog moves to top of page... - it addresses this issue, along with fieldgroup support.
#5
New reroll; addresses the double-padlocks and a quirkiness in CCKFP's handling of the email CCK field.
#6
Hi Bryan,
I had the same problem as Igorik and tested your patch. It solves the problem with the two padlock items, but removes also padlocks at some other fields.
At my test installation it removes the padlock item at the "birthday" filed which is actually a cck date field with a dropdown widget for days, month and years...
Hope that helps.
Regards,
Benedikt
#7
@bensemmel - thanks for bringing up the date field. It's almost impossible to test every single type of CCK field on D6 and D5, so it's really helpful when other people can bring up which fields aren't working. Seems I need to employ the same fix for date fields as email. I've rerolled the patch to include the date field fix.
Bryan O'Shea
Obsidian Design
#8
I've committed the fix in #7 to 6.x. It seems that 5.x handles CCK field types slightly different, at least the email type. I'm working on porting the patch back to 5.x.
Bryan