Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 May 2013 at 20:32 UTC
Updated:
29 Jul 2014 at 22:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
plopescHello
Attaching patch that converts aggregator_test callbacks to a Controller.
Regards.
Comment #3
dawehnerJust in general I'm wondering whether we should avoid using that basic permission if it's not actually used? It could be just replaced by '_access' : 'TRUE'
Should properly follow the coding standards, @see node 1354 :)
I guess we should replace drupal_add_http_header with a changed value on a Response object?
Yeah that's also something which should be actually part of a response object.
needs docs.
Comment #4
plopescHello
@dawehner, apart from your comments, I found a couple of issues when converting these callbacks to a Controller, detailed below:
aggregatorTestRedirect()method, tests does not work when reurning a RedirectResponse object, but works fine, when usingdrupal_gotoRegards
Comment #5
xjmThanks for your work on this issue! Please see #1971384-43: [META] Convert page callbacks to controllers for an update on the routing system conversion process.
Comment #6
disasm commentedThis is a duplicate of #1987598: Convert aggregator_test_feed() and aggregator_test_redirect() to a new style controller.