Skip to content

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

@alexmilde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions