Home Documentation Download Pricing Buy Now

[solved] Doctrine2 Annotation indexBy missing from @ManyToMany relationships

0 votes

RE: http://support.skipper18.com/571/solved-doctrine2-annotation-indexby-attribute-missing

This was added for @OneToMany relationships, however as of Skipper 3.0.1.1129, this is missing for @ManyToMany relationships?

asked Jan 24, 2015 in Solved by ise (730 points)
recategorized Apr 23, 2015 by ludek.vodicka

This issue should be fixed by one of last releases. Can you please try it and let me know?

I'm still unable to see it in version 3.1.2.1193 (linux portable). Could you tell me where to look more specifically, I could just be missing it?

Ok, let me check it.

1 Answer

0 votes

You were right, @indexBy attribute wasn't supported for ManyToMany association.

We fixed that in latest beta: http://support.skipper18.com/402/downloads-skipper-beta

Can you please try it and let me know?

answered Apr 23, 2015 by ludek.vodicka Skipper developer (140,530 points)

Yes thankyou :)

There is still a seperate issue where entities are not inheriting fields from parent classes correctly and so I'm unable to type a custom fieldname into the index by field.

You're right. This is a current limitation of Skipper. Currently it's not possible to use derived fields in indexes or other settings.

To be able to offer this feature it's necessary to do some more complex changes in application core. We have it on our todo list but can't promise any specific date.

...