- Issue created by @steven jones
- 🇬🇧United Kingdom steven jones
I've started work in the MR on this.
Things remaining:
- Have an upgrade path that doesn't assume that the redirect entities are in the database.
- Get tests passing (I've not touched them, I assume that they will break with these changes.)
- Add some more tests for enabled/disabled redirects.
- If the status column was in Drupal 6 redirect, add the migration code for that.
- See if the submodules need any changes.
- Consider changing the signature of
\Drupal\redirect\RedirectRepository::findMatchingRedirect
to accept an ENUM so that one could query for only disable redirects.
- Status changed to Needs review
about 1 year ago 4:07pm 4 March 2024 - last update
about 1 year ago 63 pass - 🇬🇧United Kingdom steven jones
Uploading a patch to get the tests tested. I've not added any new tests for this functionality yet.
- First commit to issue fork.
- 🇷🇴Romania amateescu
I started working on this feature as well from a different angle (Workspaces support) but didn't consider searching through the issue queue first.
However, after finding this issue, turns out my approach was almost identical, so I incorporated my changes into the existing work here :)