Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#23 | interdiff-2850037-18-22.txt | 14.57 KB | voleger |
#22 | 2850037-22.patch | 15.14 KB | voleger |
#18 | 2850037-18.patch | 9.3 KB | MerryHamster |
Comments
Comment #2
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedReplaced calls to db_like with new syntax.
Comment #3
dhruveshdtripathi CreditAttribution: dhruveshdtripathi as a volunteer and at DevsAdda for OpenSense Labs commentedComment #4
dhruveshdtripathi CreditAttribution: dhruveshdtripathi as a volunteer and at DevsAdda for OpenSense Labs commentedComment #5
xjmThanks @gaurav.kapoor!
There are some more:
For the docs, maybe we should have one followup to remove docs references to all the functions once the code references are removed, as I mentioned in a different issue (for
db_delete()
I think). Edit: I added a suggestion for that to #2848161: [meta] Replace calls to deprecated db_*() wrappers.Comment #6
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and at Iksula commentedworking on the issue.
Comment #7
shashikant_chauhan CreditAttribution: shashikant_chauhan as a volunteer and at Iksula commentedAdding the updated patch.
Comment #8
daffie CreditAttribution: daffie commentedAll calls to
db_like()
have been replaced.The function has already been marked as deprecated.
The function is still being mentioned in documentation. Two of those instances are being replaced in this patch. If the committer does not want this the two hunks can be removed on commit.
The patch is RTBC for me.
Comment #10
daffie CreditAttribution: daffie commentedBack to Rtbc.
Comment #11
daffie CreditAttribution: daffie commentedBack to RTBC.
Comment #12
xjmHmm, these documentation changes do not look right. Also, there's a
db_select()
on that line that it would conflict with. Probably we should have a holistic issue for updating the ConditionInterface docs.These are the self-tests; see similar comments on #2848952: Replace all calls to db_merge(), which is deprecated.
Thanks for your work on this!
Comment #15
volegerComment #16
volegerComment #18
MerryHamster CreditAttribution: MerryHamster at Skilld commentedReroll #7 patch for 8.7.x
Comment #19
MerryHamster CreditAttribution: MerryHamster at Skilld commentedComment #20
volegerNeeds to add legacy test and follow recommendations from #2991337: Document the recommended ways to obtain the database connection object
Comment #21
andypostAnd views should be fixed in #2784739: Fix PostgreSQL operator in views
Comment #22
volegerAddressed #20
Related PostgreSQL issue has updated scope, so replacements should happen in this issue.
Comment #23
volegerComment #24
mondrakeOnly references to db_like remaining in database.inc and DatabaseLegacyTest after applying the patch. RTBC.
Comment #25
catchCommitted a0608f0 and pushed to 8.7.x. Thanks!
Comment #27
BerdirThis broke TMGMT because we had our own constructor with an injected dependency.
I'll fix it, but it's nicer to make new arguments optional with a fallback and deprecation message.
I know our BC rules don't require that but it's become the de-facto standard and maybe we should update the rules? :)
Comment #29
cilefen CreditAttribution: cilefen as a volunteer commented