Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2017 at 07:07 UTC
Updated:
3 Nov 2017 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lendudeLets see what this breaks.....
Comment #3
lendudeComment #5
lendudeBleh that was against 8.4.x
Comment #6
dawehnerWe would certainly require a change record for this change, don't you think so?
Comment #7
lendudeYeah CR is certainly needed, just didn't expect to come back green the first time :)
Created CR and added the needed 'see' stuff.
Comment #8
jibranNice catch @Lendude but looking at the patch make me argh! Why did we implement it wrong in the first place? Not blaming anyone or pointing fingers just frustrated about this.
Overall patch looks good change notice also looks good so RTBC.
Comment #9
lendude@jibran thanks for looking at it, and I wondered the same thing yesterday, and me and @dawehner came to the conclusion: 'Legacy' :)
Bulk form was part of 'action', which used to live in the system module before the action module was born I believe. So that's why the plugin ended up there to start with.
Comment #10
xjmAny particular reason we're using the magic constant here and concatenating rather than just naming the class?
Don't we need to update config dependencies, not just caches? I mean I guess it's not like
system.modulecould have been disabled nor could Views be, but at the least it would add noise to diffs, no?legacy_bulk_formbe a more explicit name?Comment #11
dawehnerNice catch! Yeah I guess we would have to save all those views again ...
Comment #12
dawehnerComment #13
lendude@xjm thanks for the review!
#10.1 There are instances in core with __NAMESPACE__ and with full namespaces, I like the __NAMESPACE__ pattern personally because it instantly tells you 'this class' instead of having to compare two very similar full namespaces.
#10.2 Nice catch! Updated the update hook and added a test for it.
#10.3 yeah that name is much clearer, changed.
Comment #14
jibranWoW, great catch @xjm. Upgrade path and tests look good.
Comment #15
catchCommitted c203575 and pushed to 8.5.x. Thanks!
Comment #17
jibranThanks, published the change record as well.