Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Mar 2014 at 12:57 UTC
Updated:
29 Jul 2014 at 23:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
znerol commentedComment #2
dawehnerIs there a particular reason why this is done like that? it feels more like fixing a symptom than the actual underlying problem.
Comment #3
znerol commentedAddressed #2. Discussed with @dawehner: We can safely expect flood control to not be used outside the kernel request/response loop.
Also converted
Drupal\Core\Flood\MemoryBackend(which only seems to be used in the test case) and copy-pasted the test-case for memory-backend such that database-backend is covered also. The test strategy should probably be revisited in a follow-up, but let's not block the request-stack conversion on this.Comment #4
dawehnerIt is quite cool that you actually added new test coverage
Comment #6
znerol commented3: 2223631-use-request-stack-in-database-flood-backend-3.diff queued for re-testing.
Comment #7
znerol commentedBack to RTBC, last test-failure was a test-bot-failure.
Comment #9
znerol commentedReroll.
Comment #10
znerol commentedComment #11
dawehnerComment #12
alexpottCommitted 797c8de and pushed to 8.x. Thanks!