Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
database system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Sep 2016 at 10:18 UTC
Updated:
27 Oct 2016 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchPHP is case insensitive so this wouldn't be an API change.
Comment #3
daffie commentedIf somebody wants to take this on, then I will do the reviewing.
Comment #4
shashikant_chauhan commentedadding patch
Comment #5
shashikant_chauhan commentedComment #6
daffie commented@shashikant_chauhan: Your patch looks good. The problem is all calls for that method also need to be renamed. Also in the documentation there are a lot of Database::rollback()'s instead of Database::rollBack(). Watch out that you do not change the word rollback. Like in: "Create a savepoint so we can rollback a failed query".
Comment #7
shashikant_chauhan commentedupdated the patch.
Comment #8
daffie commentedLooks good to me. All function calls for rollback are changed. No unnecessary changes. So, for me it is RTBC.
Thanks @shashikant_chauhan!
Comment #10
xjmLooks good to me.
I think we should add a small CR though so modules know to update their incorrectly cased method calls or overrides. The CR can clarify that it will not break any existing code.
Comment #11
daffie commentedAdded a change record.
Comment #13
daffie commentedBack to RTBC.
Comment #15
catchCommitted/pushed to 8.3.x, thanks!