Skip to content

protect flag results in migration error. "illegal offset type" #83

Description

@alexmilde

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)
Bildschirmfoto 2021-04-12 um 15 02 33

solution

v3 page.md:

protect: logged_in

thanks again
Alex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions