Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Aug 2018 at 15:48 UTC
Updated:
14 Sep 2018 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeUsing the grep statement in IS, this is the current situation:
So there are a couple of comments in Schema.php and TableSortExtender.php to be fixed, too.
Comment #3
hardikpandya commentedComment #4
hardikpandya commentedComment #5
longwaveThis looks pretty good, but I think each deprecation needs tests adding in DatabaseLegacyTest.
This is not right:
escapeTable()belongs to the database and not the schema, but as this is just a documentation reference rather than a code example, it is probably better overall to say\Drupal\Core\Database\Connection::escapeTable()here.Comment #6
hardik rawal commentedComment #7
hardik rawal commentedComment #8
mondrakeComment #9
mondrakeNW to add tests as per #5.
Comment #10
mitrpaka commentedTests added.
Comment #11
mondrakePls remove the final dot from the message string, see #2848137-66: Replace all calls to db_update, which is deprecated, also in the other methods and the corresponding tests,
assertNotNull, the function returns a stringsame
same
it's sufficient to
assertFalseon dropping a non-existent indexComment #12
Vidushi Mehta commentedRerolled #10 as the patch does not apply and with the changes mentioned by #11.
Comment #13
mondrakejust:
Please add interdiffs when posting new patches on top of previous ones.
Comment #14
mitrpaka commentedComment #15
mondrakeLGTM, thank you
Comment #17
catchThe patch was changing permissions on the files, but fixed this on commit. Thanks!
Comment #18
andypostFiled follow-up #2996436: Follow-up to fix DatabaseLegacyTest::testDbRenameTable to fix broken tests on sqlite/pgsql