Skip to content

Class 'AerialShip\SamlSPBundle\Entity\SSOState' does not exist #98

@vtexier

Description

@vtexier

The bundle works fine for me with the deprecated SSOStateEntity, because Doctrine use annotations mapping by default.

When I try to use the non deprecated SSOState entity in Model folder, as I am using manual mapping, I configure a manual mapping to the xml mapping.

Then Doctrine raise an exception trying to find SSOState in "Entity" folder...

[Doctrine\Common\Persistence\Mapping\MappingException]          
Class 'AerialShip\SamlSPBundle\Entity\SSOState' does not exist  

My config.yml :

orm:
    auto_generate_proxy_classes: false
    entity_managers:
        default:
            auto_mapping: false
            mappings:
                SonataUserBundle: ~
                FOSUserBundle: ~
                FOSOAuthServerBundle: ~
                AerialShipSamlSPBundle:
                  type: xml
                  dir: Resources/config/doctrine-mapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions