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-check results on commit hash:
source : [git] https://git.drupal.org/project/select_or_other 1e1e6708240117206ab239eab51ec2ede7dc5cdb
source : http://cgit.drupalcode.org/select_or_other
------ ----------------------------------------------
Line Tests/src/Unit/ReferenceWidgetTest.php
------ ----------------------------------------------
153 Call to deprecated method getMock() of class
Drupal\Tests\UnitTestCase.
------ ----------------------------------------------
------ --------------------------------------------------------------------
Line Tests/src/Unit/SelectOrOtherWidgetBaseTest.php
------ --------------------------------------------------------------------
Class
Drupal ests\select_or_other\Unit\SelectOrOtherWidgetBaseTest was
not found while trying to analyse it - autoloading is probably not
configured properly.
------ --------------------------------------------------------------------
------ ------------------------------------------------------------------
Line src/Plugin/Field/FieldWidget/EntityReference/ReferenceWidget.php
------ ------------------------------------------------------------------
192 Call to deprecated method entityManager() of class Drupal.
------ ------------------------------------------------------------------
[ERROR] Found 3 errors
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#11 | select_or_other_not_ready_for_Drupal_9_in_update_status_module_report.png | 34.52 KB | frederickjh |
#6 | 3042965-6.patch | 1.01 KB | rpayanm |
| |||
#5 | drupal_9_deprecated_code-3042965-5.patch | 656 bytes | Tolyan4ik |
| |||
#2 | drupal_9_deprecated_code-3042965-2.patch | 9.31 KB | Sergiu Stici |
Comments
Comment #2
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #3
legolasboThanks for doing this work, but unfortunately 8.x-3.x is not being worked on and is very stale. 8.x-1.x is the active branch for this module.
Comment #4
legolasboComment #5
Tolyan4ik CreditAttribution: Tolyan4ik at EPAM Systems commented18/18 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------------------
Line tests/src/Functional/TestBase.php
------ ---------------------------------------------------------------
161 Call to deprecated function entity_get_form_display():
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
If the entity form display is available in configuration use:
------ ---------------------------------------------------------------
[ERROR] Found 1 error
Comment #6
rpayanmThe patch looks good but it's missing the change in the .info.yml file
18/18 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
Comment #7
legolasboLooks good to me. Committed and pushed to 8.x-1.x. Thanks!
Comment #9
rpayanmComment #11
frederickjhI know this has been closed but here we are almost a year later and the committed sits in the development branch. How about a release for those working on moving to Drupal 9?
The Update Status module lists only this module under the "Collaborate with maintainers" section on one site I maintain.
Comment #12
Christopher Riley CreditAttribution: Christopher Riley commentedBump
Comment #13
daften CreditAttribution: daften at Dropsolid commentedI will create a new release later today, in a new semver branch.