php drupal-check.phar modules/contrib/duration_field/
33/33 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------
Line duration_field.install
------ ------------------------------------------------------------
21 Call to deprecated method entityManager() of class Drupal.
90 Call to deprecated method entityManager() of class Drupal.
129 Call to deprecated function db_change_field().
131 Call to deprecated function db_add_field().
133 Call to deprecated function db_change_field().
135 Call to deprecated function db_add_field().
------ ------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3091695.4_7.interdiff.txt | 535 bytes | dww |
| #7 | 3091695-7.patch | 4.16 KB | dww |
Comments
Comment #2
sergiu stici commentedHere's the patch, please review.
Comment #3
heddnCan we also add the D9 core_version_requirement as per https://www.drupal.org/node/3070687? Even if it isn't 100% ready and there's a dev release, we can keep making progress on https://www.drupal.org/project/datetime_extras/issues/3125514. Until then, we're 100% blocked due to composer dependency issues.
Comment #4
ankush_03Adding updated patch !
Comment #5
abhisekmazumdarThe patch looks good to me.
Comment #6
dwwI have a local 9.0.x core install with duration_field installed. With this patch applied, all the Unit tests pass, but all the Functional tests are failing locally with this:
So at the very least, we need that on all the functional test classes.
Comment #7
dwwLike so. With this, the existing Functional tests are now passing with 9.0.x core. upgrade_status reports no further errors. So probably this is now RTBC, but it'd be nice for someone else to review it, too.
Thanks,
-Derek
Comment #8
heddnNice!
Comment #10
dwwDid some further testing and confirmed all's well. Committed #7 and pushed to 8.x-2.x.