Closed (cannot reproduce)
Project:
Search API attachments
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 19:02 UTC
Updated:
26 Jul 2013 at 23:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
nrambeck commentedThe attached patch fixed this issue on my installation by loading the file object using the file ID specified in the node object to load the file data.
Comment #2
lotyrin commentedComment #3
mike503 commented+1 please. we've put it into our code.
Comment #4
izus commentedassigning to me for test, review and merge
Comment #5
izus commentedHi,
So, i tested and it seems this is not accurate no more.
When creating a new node with a file attached, the $file contains the object, so it is not needed to load it as #1 was trying to do.
Please feel free to reopen again if i misunderstood it.
Thanks
Comment #6
izus commentedcross referencing https://drupal.org/node/1289222#comment-7690669