Problem/Motivation
Small issue to convert use of \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface from \Drupal\Core\Routing\EnhancerInterface
This isn't a hard blocker for module just a problem for pass tests in 8.5 branch thats would be great to merge it onto dev branch fast to unblock the situation for image_widget_crop / entity_browser.
Proposed resolution
Convert all RouteEnhancerInterface usage with new one and implement a new method to evaluate of condition are satisfated to arround complexity problem of methods (extract method).
@see https://www.drupal.org/node/2894934
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#15 | convert_deprecated-2922297-15.patch | 2.14 KB | Berdir |
#4 | convert_deprecated-2922297-4.patch | 1.83 KB | woprrr |
#2 | convert_deprecated-2922297-2.patch | 0 bytes | woprrr |
Comments
Comment #2
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedVery small change :D
Comment #4
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedSmall miss during patch exporting :O sorry for noise.
Comment #5
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedComment #7
geertvd CreditAttribution: geertvd at Geert van Dort commentedThe fails in
Drupal\Tests\ctools_entity_mask\Functional\DisplayTest
andDrupal\Tests\ctools_entity_mask\Kernel\EntityMaskTest
aren't related to this patch (they were already failing https://www.drupal.org/pift-ci-job/807372)The fail in
Ctools.Drupal\ctools\Tests\Wizard\CToolsWizardTest
does seem like a problemComment #8
geertvd CreditAttribution: geertvd at Geert van Dort commentedActually the fail
Ctools.Drupal\ctools\Tests\Wizard\CToolsWizardTest
was already occurring before also so this looks good.Comment #9
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedThank for fast review @geertvd :)
Yes, tests fails before patch, Now we have fixed all noise generated by deprecated enhancer. I create a follow-up issue to solve Tests #2922552: Resolve failed tests
Comment #10
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedAll green with this issue AND #2922552: Resolve failed tests
:) This have a chance to fast merge on dev branch that should be GREAT :)
Comment #11
woprrr CreditAttribution: woprrr as a volunteer and at NeoLynk commentedI just attached ImageWidgetCrop issue waiting this merged in dev branch :)
Comment #12
LpSolit CreditAttribution: LpSolit as a volunteer commentedCommitters: ping?
Comment #13
joelpittetThis may need a minimum core version as these interfaces don't exist before 8.5. I looked in 8.4 and the interface
EnhancerInterface
doesn't exist.Comment #14
BerdirTo be honest, everyone who is still on 8.3 or older deservers to get a fatal error, not sure we need to bother with that.
Comment #15
BerdirAdd a dependency on 8.5, just to be sure :)
Comment #16
joelpittetThanks for changing your mind on the version bump:)
Comment #18
joelpittetThe 8.7 test failures will be looked at in another issue, they are unrelated. Thanks for all your help on this!