Skip to content

FOSUserBundle incompatibility, Properties XXXX does not exist #180

@IvanCou

Description

@IvanCou

After 3 days working arround this problem there is some informations that could be useful for people in the same configuration.

I had the error "Properties XXXX does not exist" when I try to display datatable for some entities only.

In fact the problem occur only if there is a relation between the entity you want to display and a FosUser entity, even if you don't display any field of the user entity.

And the problem occur Only if the connected user is related with one of entities.
If your connected user is not related to company entity (for exemple) all is working perfect, as soon as you add the connected user to one company, you ar not able to display datatable and you get the message "Properties XXXX does not exist" .

it's look like there is a incompatibility with the proxy.objects used by FOSUserBundle et AliDatatble in DoctrineBuilder.php

there is my actual composer version, I have already try with the latest ones with the same results
"friendsofsymfony/user-bundle": "v2.0.0-alpha3",
"ali/datatable": "2.1.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions