I am using the conditional_fields module along with this module. whenever I create a permission using the field_permissions module and try to edit an existing node I get the following error:

Notice: Undefined index: field_xyz in conditional_fields_form_after_build() (line 442 of /home/abc/public_html/sites/all/modules/conditional_fields/conditional_fields.module).
Recoverable fatal error: Argument 2 passed to drupal_array_get_nested_value() must be an array, null given, called in /home/abc/public_html/sites/all/modules/conditional_fields/conditional_fields.module on line 443 and defined in drupal_array_get_nested_value() (line 6348 of /home/abc/public_html/includes/common.inc).

I have mentioned this issue in the conditional_fields issues but got no response so far.

update: I do not have this problem anymore, sorry, don't remember what I did to fix it, but if anyone is interested I'll take a look.

Comments

robloach’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Category: bug » support

Mind doing an update of both modules? Sounds like a problem with Conditional Fields....

zhenjan’s picture

Priority: Normal » Major

I'm very interesting in what have you done to fix this problem. Now I have the same and there is still no response for Conditional field issue.

Desi Raaj’s picture

try using different permissions and see if the problem exists, I think I made all the permissions same for all fields in that particular CT, if this is not an option for you or doesn't fix the problem I'll take a look into my fields and module versions and see what I can find out more.

ShadowMonster’s picture

Let me help you little a bit I think, I have similar problem my configuration:

field_region_2_info <- markup cck field (http://drupal.org/project/markup)
field_posting_type <- select list cck type
field_choose_template <- second select type

Now CF setting:
field_region_2_info is visible if field_posting_type has value 'template'
field_region_2_info is visible if field_choose_template has value 'standard'

all this fields are visible only for moderator (specially created role - all perms checked for this role)
and it is working right... but...
if I set-up Create own value for field for field_region_2_info for authenticated users then system is back with error from this issue. It's looks like only this permissions is bugged because whatever I do with others ones it is working ok.

I would like also have it fixed cause soon I would like turn on this perm for auth users.

Hope so it help.

adshill’s picture

Just to mention the get-around of this for me was to ensure that conditional fields all had the same field permissions at which point it seems to work ok.

adshill’s picture

Issue summary: View changes

problem fixed

kenorb’s picture