dantleech / bolt-fixtures

Fixtures loader for Bolt CMS
2 stars 1 forks source link

Can't add Users #5

Open Spomsoree opened 6 years ago

Spomsoree commented 6 years ago

Is there a way to use this extension to automatically add users? I can't get it running.

Type error: Argument 2 passed to Bolt\Storage\Mapping\ContentType::__construct() must be of the type array, boolean given, called in [...]/vendor/bolt/bolt/src/Storage/ContentLegacyService.php on line 52

is the Error I get with the following example:

users:
    bob:
        username: bob
        password: bob
        email: 'bob@bob.de'
        displayname: bob
        enabled: true
dantleech commented 6 years ago

I'm not currently using Bolt, but this sounds like the difference between the "legacy" entities and the "new" ones. I'm not sure how easy it would be to make this possible.