Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

leave_redirect does not convert moved children of the route. #67

Open
dantleech opened this issue Feb 9, 2016 · 3 comments
Open

leave_redirect does not convert moved children of the route. #67

dantleech opened this issue Feb 9, 2016 · 3 comments
Labels

Comments

@dantleech
Copy link
Member

leave_redirect will not create redirects for any content-aware routes that are children of the route to which the migration is applied.

e.g.

/foo/bar/baz
/foo
/foo/bar/baz/boo
  • /foo/bar/baz references some content,
  • /foo is renamed to /bar,
  • A redirect route will be created for /bar,
  • No redirect route will be created for /foo/bar/baz. This is wrong.
@dantleech dantleech added the bug label Feb 9, 2016
@SalvatorePollaci
Copy link

Hi are there any updates on this issue?

@dantleech
Copy link
Member Author

Nothing has been done as far as I am aware

@dantleech
Copy link
Member Author

The LeaveRedirectRouteHandler will need to traverse the children of the route and generate redirect routes for each.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants