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
Drupal 8.4.x uses symfony 3 #2712647: Update Symfony components to ~3.2. But webprofiler module was not ported yet.
This is evident with errors like:
Uncaught Error: Call to undefined method Symfony\Component\DependencyInjection\Reference::isStrict()
Proposed resolution
(Probably) Create a new branch of this module.
Follow the https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md guide
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#11 | support_for_symfony_3-2879214-11.patch | 5.92 KB | lussoluca |
#8 | support_for_symfony_3-2879214-8.patch | 3.8 KB | lussoluca |
#3 | support_for_symfony_3-2879214-3.patch | 1.11 KB | clemens.tolboom |
|
Comments
Comment #2
clemens.tolboomThis seems major to me as I cannot install WebProfiler anymore
Comment #3
clemens.tolboomMaking a naive patch does not help much as that result into
So IS is probably right for creating a new (feature) branch for fixing this. But IMHO it should result in just a new version of devel like 8.1.1 ... as support for Drupal 8.3.x stops after 8.4.0 is released. We did that for Rest UI too.
Comment #4
clemens.tolboomComment #5
DamienMcKennaComment #6
DamienMcKennaComment #7
DamienMcKennaAm running into this problem with a Metatag test that specifically checks to see if Devel and WebProfiler can be enabled.
Comment #8
lussolucaI did not do extensive tests but with this patch webprofiler installs and runs on d8.4.0-dev
Comment #9
lussolucaComment #10
DamienMcKennaThe tests are green and this fixes the problem for Metatag, so it's RTBC as far as I'm concerned. Great work, lussoluca! :-)
Comment #11
lussolucaCompatibility with both D8.4.x and D8.3.x
Comment #13
lussolucaCommitted and pushed to 8.x-1.x.
Thanks!
Comment #14
DamienMcKennaWoohoo! Thanks everyone!