Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 May 2013 at 01:19 UTC
Updated:
29 Jul 2014 at 22:21 UTC
Jump to comment: Most recent file
Files needed to be changed are:
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | 1998700-core-includes-request-26.patch | 4 KB | kim.pepper |
| #22 | 1998700-core-includes-request-22.patch | 3.97 KB | kim.pepper |
| #19 | 1998700-core-includes-request-19.patch | 3.97 KB | kim.pepper |
| #14 | 1998700-core-includes-request-14.patch | 4.7 KB | kim.pepper |
| #14 | interdiff.txt | 6.1 KB | kim.pepper |
Comments
Comment #1
mhagedon commentedComment #2
atchijov commentedsorry. have not see that it is taken.
Comment #3
mhagedon commentedHere's an attempt to fix this. I used Drupal::request() a fair amount because it didn't appear that these classes were using DI. Suggestions to fix that are welcome. Also, AjaxResponse seemed clean of superglobals.
Comment #5
mhagedon commented#3: drupal-use-symfony-request-for-core-classes-1998700-3.patch queued for re-testing.
Comment #7
atchijov commented#3: drupal-use-symfony-request-for-core-classes-1998700-3.patch queued for re-testing.
Comment #9
atchijov commented#3: drupal-use-symfony-request-for-core-classes-1998700-3.patch queued for re-testing.
Comment #11
atchijov commented#3: drupal-use-symfony-request-for-core-classes-1998700-3.patch queued for re-testing.
Comment #13
kim.pepperAre you able to run these tests locally?
Comment #14
kim.pepperCleaned up the patch using $request->isMethod('GET') as well as removing some temporary comments.
Comment #16
mhagedon commentedOdd... the change to isMethod() (good call BTW!) shouldn't have made the testbot able to log into the site. Maybe it was just overwhelmed by the volume of testing coming from DrupalCon?
I was (am) brand new to Drupal core development, so I didn't know how to run the tests at the time. I'm still not quite sure how I'd isolate these particular changes...
Comment #17
kim.pepper#14: 1998700-core-includes-request-14.patch queued for re-testing.
Comment #19
kim.pepperRe-roll. Test failure in #14 passes locally.
Comment #21
kim.pepperSearchBlockTest.phpfailures. Why am I not surprised?Comment #22
kim.pepperRe-roll.
Comment #23
marcingy commented#22: 1998700-core-includes-request-22.patch queued for re-testing.
Comment #25
kim.pepperNeeds reroll
Comment #26
kim.pepperRe-roll
Comment #27
marcingy commentedLooks good
Comment #28
alexpottCommitted 66a1e0b and pushed to 8.x. Thanks!
Comment #29.0
(not verified) commentedRemoved core/lib/Drupal/Component/Utility/Crypt.php, it's only using it for random data, not to actually reference the request context.