Import Utility mishandling local path #3651
Unanswered
supralow
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
While using the "import from wikijs 1" with local data, the path is stripped when a trailing slash is used, which leads to a failed import.
To Reproduce
Workaround
Just remove the trailing slash, it'll import correctly
3. In path "/wiki/repo-v1"
Expected behavior
Import all the files in the folder with or without the trailing slash.
Screenshots
If applicable, add screenshots to help explain your problem.
Host Info (please complete the following information):
Additional context
In the logs output you can see that with the trailing slash it'll remove the first letter of the name of the file. Sadly I don't have those logs anymore, but you should be able to reproduce easily the behavior.
Beta Was this translation helpful? Give feedback.
All reactions