migrator
migrator copied to clipboard
protect flag results in migration error. "illegal offset type"
thanks for this amazing migrator. it helped a lot!
i ran into a bug which was hard to track down for me - maybe you can look into it.
v2 page.md:
protect:
type: logged_in
login_url: ../login
will result into an error exception (screenshot attached)

solution
v3 page.md:
protect: logged_in
thanks again Alex
In the future, make sure to include the error itself, which is just above where you've cropped the screenshot.
if you want i can create a PR with the fix.
Great FR for the migrator. Would need to handle custom protection schemes, or at least warn the user to update their protection schemes config.