Closed (works as designed)
Project:
Corresponding node references
Version:
7.x-4.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 14:46 UTC
Updated:
9 Nov 2014 at 04:52 UTC
Jump to comment: Most recent
Comments
Comment #1
dzah commentedI am having the same "Notice: Undefined property: stdClass::$original in file_field_update() (line 265 of Z:\home\SITENAME\www\modules\file\file.field.inc)." message. However, I am using not the "Corresponding node references" but rather "Entity Reference".
Comment #2
mgiffordPretty sure this is a duplicate of - #1714596: Undefined property: stdClass::$original in file_field_update() - which has actually been fixed in the repository.
Comment #3
james.williamsThis ticket isn't a duplicate as such, but the solution found in #1714596: Undefined property: stdClass::$original in file_field_update() for the File field paths module is also needed in CNR.
Comment #4
orkutmuratyilmazThe final url of that patch is here.
Comment #5
ryounes commentedI'm getting this error when I save a node that has a node reference to a node of a content type with an image field. In file_field_update, $entity is the second node, not the node being saved. Does CNR update all nodes referred to by a node being updated? That seems like a design flaw.
Comment #6
liza commentedFYI i got this error message after having problems with CER. am on D7.19 and the aforementioned patch, which goes back to D7.15, wasnt included in D7.19.
Comment #7
fledev.com commentedThis issue appears also without the mentioned module in Drupal 7.21.
http://drupal.org/files/core-7.15-remove-file-attach-load-985642-41.patch
...
@modules/file/file.field.inc line 264
Comment #8
johnvIt seems this is fixed in core per D7.22: #985642-80: Remove file_attach_load() from file_field_update()
Comment #9
damienmckennaClosing this to 'works as designed' because of #985642: Remove file_attach_load() from file_field_update().