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

AttachmentSize
double_locks.gif28.05 KB

#1

igorik - December 8, 2008 - 01:59

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

obsidiandesign - December 8, 2008 - 04:40
Assigned to:Anonymous» obsidiandesign
Status:active» postponed (maintainer needs more info)

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

igorik - December 8, 2008 - 08:46

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

obsidiandesign - December 21, 2008 - 05:06
Status:postponed (maintainer needs more info)» needs review

Please test the patch at #344372: Impromptu Dialog moves to top of page... - it addresses this issue, along with fieldgroup support.

#5

obsidiandesign - December 22, 2008 - 05:26

New reroll; addresses the double-padlocks and a quirkiness in CCKFP's handling of the email CCK field.

AttachmentSize
cck_field_privacy.module.344120.patch 2.66 KB

#6

bensemmel - December 24, 2008 - 15:17

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

obsidiandesign - December 25, 2008 - 05:09

@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

AttachmentSize
cck_field_privacy.module.344120.date_reroll.patch 2.75 KB

#8

obsidiandesign - January 10, 2009 - 18:48
Version:6.x-1.x-dev» 5.x-2.x-dev
Status:needs review» patch (to be ported)

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

 
 

Drupal is a registered trademark of Dries Buytaert.