Closed (duplicate)
Project:
Drupal core
Version:
8.7.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2018 at 10:10 UTC
Updated:
18 Jul 2018 at 11:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
volegerComment #3
volegergrep -inr -e "db_query" core/modules/[p-s]*Comment #4
ankitjain28may commentedThe patch in #2 works perfect, Looks good to me, RTBC
Comment #5
joshmillerComment #6
alexpottThis patch should be scripted. And done in one issue. See #2849669: Fix \Drupal\Component\Utility\Unicode() because of the Symfony mbstring polyfill and #2958429: Properly deprecate SafeMarkup::format(). The patch should also add an @trigger_error to db_query().
Putting at needs works so that everything can be migrated to #2875394: Replace all calls to db_query, which is deprecated. For more info on why this is the right approach see https://www.drupal.org/core/scope#examples specifically the example of entity_load()
Comment #7
alexpott@voleger forgot to say thanks for all the work here! Cleaning up the tech debt is something I'm really keen on too and it'll be amazing to get to a point where we're doing a lot less legacy stuff.
Comment #9
volegerSo we will work on the scripted patch.
Follow #2875394: Replace all calls to db_query, which is deprecated