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.
Comment | File | Size | Author |
---|---|---|---|
#32 | 2216701.31.patch | 57.52 KB | alexpott |
#29 | 2216701.29.patch | 1.37 KB | alexpott |
#29 | 2216701.29.patch | 1.37 KB | alexpott |
#29 | 2216701.29.patch | 1.37 KB | alexpott |
#29 | 2216701.29.patch | 1.37 KB | alexpott |
Comments
Comment #1
sunFor starters.
@timplunkett might have found the solution
Comment #3
sunComment #5
sunComment #6
longwaveComment #8
longwaveComment #9
sunJust measuring some memory.
Comment #11
sund'oh, it would help if I'd save my changes before creating patches ;)
Comment #13
sundrupal_static()
to check for object referencesA quick test run on my local box shows that
drupal_static()
apparently contains a full (form) render array tree, which is known to contain plenty of service instances and perhaps even the entire container.Comment #15
Gábor HojtsySeen this happening at https://drupal.org/comment/8572311#comment-8572311 and https://drupal.org/comment/8572819#comment-8572819
Comment #16
alexpottI've bisected and ran tests on the bots to discover that this problem was introduced by #2134857: PHPUnit test the entity base classes see the work on #2095771: alexpott's test issue
Considering #2134857: PHPUnit test the entity base classes was only introducing testability I suggest we revert it on this issue and set than one to needs work.
The patches attached to this comment are all the same - they revert that issue and patch run-tests to only run the test we're interested in. I'll post a revert only patch next.
Comment #17
alexpottHo hum - I forgot to commit the patch to run tests to only run the test we're interested in... so those will run the full test suite... might as well them queued
Comment #18
alexpottLet's not clog the bots...
Comment #28
BerdirBefore rolling back, we could try to unset the services in __sleep() just like the urlGenerator?Forget that. it extends from DependencySerialization, so that's supposed to handle that.
Comment #29
alexpott@Berdir sure
Comment #32
alexpottSo that's good it appears DependencySerialization is not flawed phew. Patch attached just reverts #2134857: PHPUnit test the entity base classes
Comment #33
sunComment #34
webchickOH THANK GOODNESS.
Committed and pushed to 8.x. AWESOME sleuthing work here, folks!