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.
php drupal-check.phar modules/contrib/menu_link_weight/
14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------
Line menu_link_weight.node.inc
------ ----------------------------------------------
130 Call to deprecated function drupal_render().
131 Call to deprecated function drupal_render().
------ ----------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/FunctionalJavascript/MenuLinkWeightJavascriptTestBase.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 Class Drupal\Tests\menu_link_weight\FunctionalJavascript\MenuLinkWeightJavascriptTestBase extends deprecated class Drupal\FunctionalJavascriptTests\JavascriptTestBase.
71 Call to method setUp() of deprecated class Drupal\Tests\BrowserTestBase.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERROR] Found 4 errors
Comment | File | Size | Author |
---|---|---|---|
#9 | 3086197-9.patch | 1010 bytes | johnwebdev |
#5 | 3086197-5.patch | 1.96 KB | johnwebdev |
| |||
#5 | interdiff_3-5.txt | 697 bytes | johnwebdev |
#3 | 3086197-3.patch | 1.79 KB | johnwebdev |
#2 | deprecated-3086197-2.patch | 1.86 KB | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #3
johnwebdev CreditAttribution: johnwebdev commentedPatch in #2 looks right, but CI says something else. Let's try it again.
Comment #4
johnwebdev CreditAttribution: johnwebdev commentedAhh, it shouldn't run on PHP 5.5. I've updated the defaults for the automated testing settings.
Comment #5
johnwebdev CreditAttribution: johnwebdev commentedLet's try use the legacy PhantomJS approach and make a follow up to convert to DrupalSelenium2Driver driver.
Comment #6
johnwebdev CreditAttribution: johnwebdev commentedActually, we should probably not do that. I misinterpreted the change record, PhantomJS will be removed in 9.0.0 as well. #3088688: Remove PhantomJS based testing
Comment #7
johnwebdev CreditAttribution: johnwebdev commentedSo the problem here is that the Selenium driver does not allow you manipulate values that are hidden, which makes these tests very hard to pass. I'm going to postpone this on a new issue that rewrites the tests, separating JavaScript with basic functional ones.
See #3099697: Refactor tests
Comment #8
johnwebdev CreditAttribution: johnwebdev commentedBlocker has been committed.
Comment #9
johnwebdev CreditAttribution: johnwebdev commentedComment #10
johnzzonLooks great.
Comment #12
johnwebdev CreditAttribution: johnwebdev at Kodamera AB commentedDeprecations are removed. We can make it actual installable for Drupal 9 in a separate issue.