Affects Version/s: 2.1.5
Fix Version/s: None
Security Level: All
In first time, sorry for my bad english.
The feature Foreign key as Primary does not work as intended.
The CLI tool report an error on validating mapping:
The referenced column name 'pk_agent' does not have a corresponding field with this column name on the class 'BddP\Model\Entity\Sd\Contact'.
If I run the application, many features works: querying, entity population.
But for persist a new Agent without associated entities for OneToOne; the ORM report :
PDOException: SQLSTATE: Not null violation on "pk" column
And If I comment all OneToOne, the persist work.
Thank you in advance for your response.