Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Follow-up to #2509898: Additional uncaught exception thrown while handling exception after service changes, the ErrorContainer::get()
and ExceptionContainer::get()
blows up for any service which is requested. As a result the behavior of the tests depends on unrelated factors like the sequence of service instantiation during bootstrap. This can lead to bogus test failures when attempting to change code in the early bootstrap or the error handler.
Proposed resolution
Restrict the failure condition to one service (e.g. http_kernel
).
Remaining tasks
User interface changes
API changes
Data model changes
Beta evaluation: Unfrozen as test only changes.
Comment | File | Size | Author |
---|---|---|---|
#1 | behavior_of-2540538-1.patch | 1.54 KB | znerol |
|
Comments
Comment #1
znerol CreditAttribution: znerol commentedComment #2
Fabianx CreditAttribution: Fabianx for Acquia commented- RTBC, makes sense to me.
- Added short beta evaluation.
Comment #3
alexpottMake sense to me to. Committed e536cb0 and pushed to 8.0.x. Thanks!