mogenerator icon indicating copy to clipboard operation
mogenerator copied to clipboard

Inherited entities and compundIndex

Open thom-ek opened this issue 6 years ago • 0 comments

There is a crash during conversion of compoundIndex created on child entity which contains attributes from parent entity.

It crashes there: [currentCompoundIndex addObject:compoundIndexProperty]; line 92 @ NSEntityDescription+momcom.m

and crash look just this: Caught: NSInvalidArgumentException: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

There should be a message that indexes on inherited attributes are not supported.

thom-ek avatar Mar 08 '18 16:03 thom-ek