HTTPS SSH

Symfony Doctrine sandbox

Sandbox to try to debug Doctrine mapping problem

if you try bin/console do:sc:vali you get:

[Mapping]  FAIL - The entity-class 'Model\Resource' mapping is invalid:
* The field Model\Resource#units is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Model\Unit#resources does not contain the required 'inversedBy="units"' attribute.

even if the inversed-by attribute is actually in the mapping file.

Instead, trying bin/console do:map:info tells that everyhing is OK:

Found 2 mapped entities:
[OK]   Model\Unit
[OK]   Model\Resource