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?

in Solved by (670 points)
recategorized by

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?

by Skipper developer (136k 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.