Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 May 2013 at 23:42 UTC
Updated:
29 Jul 2014 at 22:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerComment #2
ParisLiakos commentedmaybe as a first step, we should fix all references to the old controller to point to the new one, so people copying and pasting from elsewhere, use the new namespace and then after, as a second step remove the interface
this would ensure that a lot less patches break
Comment #3
ParisLiakos commentedhere is the patch, same as #1 but without removing the controller
Comment #4
Crell commentedI like the second approach. Break as few patches as possible. (But then go review patches and tell them to change before they're RTBC.)
Comment #5
Crell commentedEr, no. Sorry. We should NOT change HtmlFormController et al yet, because we want existing RTBC patches to still work. We can change that when we remove the old interface outright, which is probably another week or two.
Comment #6
ParisLiakos commentedproblem is that
returns FALSE for classes using the new Drupal\Core\Controller\ControllerInterface
so here is a re-upload of #1
Comment #8
dawehner#6: drupal-1998140-6.patch queued for re-testing.
Comment #9
ParisLiakos commentedi think the more conversions are being commited this patch would need a reroll, as more usages are being added..so maybe postpone this, stick to the old interface for now and revisit before release, or when conversions are commited in a lot slower pace:P
Comment #11
dawehnerJust another rerole.
Comment #13
dawehnerLet's kill every reference to the old interface.
Comment #15
dawehner#13: drupal-1998140-13.patch queued for re-testing.
Comment #16
dawehnerRerolled.
Comment #18
dawehnerJust another rerole.
Comment #19
tim.plunkettRerolled.
Comment #20
vijaycs85Tested below steps manually
1. applied batch and checked code base for Drupal\Core\ControllerInterface - No occurance
2. Re-installed drupal after patch - Installed without any error.
to me, it is RTBC :)
Comment #21
vijaycs85Setting RTBC.
Comment #22
ParisLiakos commentedOk we either do not commit other conversions and commit this first or we keep rerolling..so addding tag..lets get this in asap
Comment #23
amateescu commentedI fully agree with getting this in now. Learning the new ways of doing page callbacks is hard enough for D8 newcomers, so let's not trouble them even more by using a class that IDEs show as deprecated, while using the new one doesn't even work actually.
Comment #24
alexpottNeeds reroll and bumping priority as two ways of doing stuff not good...
Comment #25
ParisLiakos commentedreroll
Comment #26
dawehnerNo instances of this class found anymore.
Comment #28
vijaycs85#25: controller-1998140-25.patch queued for re-testing.
Comment #29
Crell commentedComment #30
alexpottCommitted 07bf168 and pushed to 8.x. Thanks!
Need to update at least one change record https://drupal.org/node/1800686
Comment #31
Crell commentedChange notice updated.
Comment #32
effulgentsia commentedRemoving no longer needed tag.