Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Exception when filtering data of entity which contains transformable attribute #14
Here it the trace (1800 is 'NSTransformableAttributeType'):
2013-03-09 19:05:49.984 CoreDataPro[7015:303] NSPredicatePattern cannot create operators for an NSAttributeDescription with type 1800
pushed a commit
Mar 13, 2013
Filter no longer crashes on entities that contains NSTransformableAttributeType.
@garnett can you please verify it is working for you. If so I will close the issue.
This is the commit that solves the issue and has been merged into Develop and Master. I will wait until verified before merging into feature/multiDocSupport.
On a side note:
I don't really call this a fix. It is more of a solution to prevent the filter crash.
I would like to enable filtering for this type somehow but I am not sure what the best solution is. The attributeValueClassName will probably help with the filter scheme but I am not sure how folks tend to use this in their data models. If it is custom classes than maybe the best we can do is allow them to filter by size or less valuable "attributeValueClassName" which will probably be all the same.
For now I have just excluded "NSTransformableAttributeType" from the filter list until someone finds a need and can offer a good scenario for filtering by that attribute type.