Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative path not used when exporting p.a.redirector rules #211

Open
djay opened this issue Jun 30, 2023 · 1 comment
Open

relative path not used when exporting p.a.redirector rules #211

djay opened this issue Jun 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@djay
Copy link
Member

djay commented Jun 30, 2023

rules are exported with the full path. When they are imported they won't match unless the absolute path happens to be the same.

I suspect this is because p.a.redirector actually stores them as absolute paths but not sure. Either way, exportimport should export them in a form that the imports will work.

@djay djay added the bug Something isn't working label Jun 30, 2023
@pbauer
Copy link
Member

pbauer commented Jul 5, 2023

The source should be exported without portal-id and the target as uuid. The import should then adapt these to the expected format. Also in new version the format is actually old_path, new_path, timestamp, manual (bool). Pull-requests are most welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants