Markus Mahner

Results 11 comments of Markus Mahner

Any progress on this issue? We have a similar effect here. doctrine/migrations: 1.8.1 doctrine/dbal: 2.9.0 doctrine/orm: 2.6.3 MySQL 5.7.24 PHP 7.2.12

In my case - boolean fields were changed to `TINYINT(1) NOT NULL` again and again - the cause was that - probably - DBAL does not longer accept `options =...

Did anybody succeed in this issue? I'm also struggling at this... I already use a custom `UserHydrator` class, as described in the Cookbook (just implementing `HydratorInterface`, not extending `AbstractHydrator` as...

@bertoost: I was finally able to solve this by overriding the LdapAuthenticationProvider class following @baldurrensch's approach posted above. So the local user's permissions (and mail address) are sync'd to the...

@bertoost: Yes, same configuration here: ``` providers: chain_provider: chain: providers: [fos_userbundle, fr3d_ldapbundle] ``` It took me some hours of serious debugging to understand what was happening, but this is where...

@Maks3w Thanks for your reply. I'm aware of my solution being strongly coupled strongly to FOSUserBundle (which is, after what I understood, what you guys are trying to get rid...

@bertoost I don't know how your User class is structured, but if those profile records are stored in an associated entity, you could just copy this from `$ldapUser`, as it...

Did you also add the lines to `services.yml` as I posted above? This is crucial, especially the `parameters:` part.

Hm, I have it in my AppBundle's `services.yml`. Maybe you're right - it may have something to do with loading order... You could try to put these lines inside your...

How are you resetting the session? The AuthenticationProvider is triggered on every login (and logout, fwiw). So the user will have to login to get updated.