Applies to ZF2/Doctrine 2 Annotations:
Reproduce:
- Create base class with primary key id field
- Create class extending from base class using Mapped Superclass type
- Try to create association in the extending class
Results:
The editor will not display any association fields because the primary key is defined and inherited from the base class. Now it would be required to re-create the the id field in the extended class, however cause "Duplicate definition of column 'id' on entity".
Expected:
Skipper should be able to see the inherited primary key field and allow it to be selected as an association key field.
Workaround:
Current workaround is to remove the id field from the base class, however it defeats the purpose.