Closed (duplicate)
Project:
Field Permissions
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Feb 2011 at 09:34 UTC
Updated:
26 Aug 2012 at 23:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
webflo commentedI think this is a bug in core. #822418: Field form structure incomplete if field_access() returns FALSE
Comment #2
bryancasler commentedsubscribe
Comment #3
clashar commentedI have similar problem while node creation:
Notice: Undefined property: stdClass::$field_edu in locale_field_node_form_submit() (line 410 of Z:\home\paris9.kz\www\emploi\modules\locale\locale.module).
But I have no Field Permissions module.
I do have Fieldgroup, Field collection modules.
Comment #4
clashar commentedshould this issue be related to Locale module?
Comment #5
didox commentedsubscribe
Comment #6
robloachYeah, this seems like a Locale module bug, as webflo stated.... #822418: Field form structure incomplete if field_access() returns FALSE
Comment #7
tobey_p commentedsubscribe
Comment #8
Muuss commentedNotice : Undefined property: stdClass::$field_renouv_numero_dsi dans locale_field_node_form_submit() (ligne 409 dans /data/html/drupal/modules/locale/locale.module).
Using the lastests versions of Drupal, of Field Permissions and Fieldgroups, I have that same issue. It disappears if I add a 'Create field_renouv_numero_dsi (edit on content creation).', tho, it changes the behaviour of what i want to do (ie : add fields that are viewable and modifyable only by a special group).
Comment #9
SebCorbin commentedSubscribing
Comment #10
snupy commentedsubscribe
Comment #11
webadpro commentedI'm having the same issue.
Comment #12
aacraig commentedYou can remove this error message by patching the code, until the developer gets around to a permanent fix.
Replace the current line (line 408 in my current version 7.8, but mileage may vary according to your installed version of the Locale module)
with:
Comment #13
manos_ws commentedThe temporary fix from #12 worked
has anyone tryied the patch in #822418: Field form structure incomplete if field_access() returns FALSE and verify that it solves the issue?
Comment #14
trailerparkopera commentedHere's a patch that works for me
Comment #15
trailerparkopera commentedwhoops! Bad naming on that patch. Here's a revised one.
Comment #16
trailerparkopera commentedbah! Bad path...trying again...
Comment #17
trailerparkopera commentedNope. Bad paths again...this one works (sure do wish I could delete - or mark for deletion) my other comments - or at least re-attach files).
Comment #18
hollyh commentedHi I like your patch, unfortunately it is not working for me. I am using the latest version of drupal and the error I get is on one of these lines
if ($field['translatable'] && $previous_language != $current_language && isset($form_state['values'][$field_name])) {
$form_state['values'][$field_name][$current_language] = $node->{$field_name}[$previous_language];
$form_state['values'][$field_name][$previous_language] = array();
}
Any guesses? I am not a programmer so this is a bit over my head
Comment #19
trailerparkopera commentedThis patch is no longer working against the current version of D7 / Locale. I'm trying to track down if it's needed anymore.
Comment #20
arlingtonvoicellc commented#12
works for mehides the error but doesn't fix the internal problem. For some reason, it won't pass any image file upload fields or address fields when saved. But it does get rid of the error message.Comment #21
fen commentedWe discovered problems with this patch around Aug 17th and have commented it out in our drush make file. Everything seems to still be working...