Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Database backend
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Aug 2015 at 19:04 UTC
Updated:
2 Jun 2021 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshi.rohit100Comment #3
joshi.rohit100Comment #4
grahlAttached is a straight copy & paste from the deprecated functions for the new calls. I did not directly verify all.
Comment #6
HeimdallJHM commentedwhy the new blank line?
Comment #7
drunken monkeyThanks for the patch!
This leads to a fatal error because you don't import the
Conditionclass.In the Database backend class, we should not use
Database::getConnection()but our own$databaseproperty.And yes, please also delete the new blank line.
Comment #8
joshi.rohit100Comment #10
joshi.rohit100Comment #12
joshi.rohit100Hope this is last :)
Comment #13
joshi.rohit100Finally green **sigh**
Comment #14
drunken monkeyThanks, looks great!
However, a quick search revealed a few more places where those functions were used. See the attached patch.
If the test bot is happy, though, I can commit this version then.
In any case, thanks again for your work!
Comment #16
joshi.rohit100I tried to debug the failed testcase and it seems that field-name-title is replace by field--name-title, so I just did that.
Hope its not wrong.
Comment #18
drunken monkeyAh, didn't see your comment, sorry. Since this failed for all patches, not just in this issue, I just fixed it in a separate issue (#2559303: Adapt RenderedItemTest to latest Core node template change). But the fix was correct, thanks.
Comment #19
drunken monkeyOK, seems to be good to go. (The CI test fails because it used the module version from the time the patch was posted – idiotic, in my opinion, but it seems to have made sense to someone.)
Committed.
Thanks again for your work!