Problem/Motivation
While running drush updatedb I have faced the following error:
> [notice] Update started: daterange_compact_update_10001
> [error] Route "entity.daterange_compact_format.canonical" does not exist.
> [error] Update failed: daterange_compact_update_10001
Steps to reproduce
I am updating Drupal Core to 10.3, which might be the cause of the issue.
Proposed resolution
Remove canonical URL from the daterange_compact_format annotation, as it does not exist.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | Screenshot 2026-06-16 163916.png | 54.4 KB | dunx |
| #4 | 3512773.patch | 705 bytes | mauriciopieper |
Issue fork daterange_compact-3512773
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mauriciopieper commentedComment #4
mauriciopieper commentedI have created an MR for this and here is a patch to avoid using the MR diff.
Comment #5
dpacassiReceiving the same error when updating the database after updating Drupal core + contrib via Composer.
This patch fixes the issue.
Comment #6
joevagyok commentedReviewed and tested. Moving to RTBC.
Comment #7
dunx commentedAlso reviewed and tested. Admin screen now working as expected.
Comment #9
erik.erskine commentedCommitted, thanks!
Comment #11
dunx commentedWould be good to get credit for testing the fix. I'm not a dev - identifying, documenting and testing is how I contribute back to Drupal.
Comment #12
joevagyok commentedI agree, I always give credits for reviews and manual tests.
Comment #13
erik.erskine commentedFixed, and thanks for your help :-)