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
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...
My config.yml :