Closed (fixed)
Project:
Entity Reference Autocomplete
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2015 at 22:28 UTC
Updated:
22 Oct 2015 at 20:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
donquixote commentedComment #3
donquixote commentedComment #4
donquixote commentedDifferent approach with function_exists(), so it does not break in prior versions of Drupal core.
Comment #5
shashikant_chauhan commentedHi,
I am also facing problem with Entity Reference Autocomplete & drupal 7.39.
I tried the patch 2, and its working fine.
Comment #7
slv_ commentedThanks for the patches donquixote.
This was already reported in #2554553: Autocomplete broken in Drupal 7.39. I'll solve it in this issue as the solution with the function_exists check is not in the other one. I didn't apply last patch, but a combination of the patches in #2 and #4, as I prefer to have the #process function in the element_info() declaration, rather than called dynamically.
Since that function is in form.inc, which is called whenever Drupal gets fully bootstrapped, there shouldn't be a problem with that, and just flushing all caches should get it added to the #process array too.
Fixed in http://drupalcode.org/project/entityreference_autocomplete.git/commit/57.... Will go into next stable release \o/.
Comment #8
slv_ commentedComment #10
blanca.esqueda commented