-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot fetch with predicate referencing a managed object #51
Comments
I forgot to mention that the test relies upon the table name change on the |
Excellent, thank you for the test case. This one seems a bit more complicated than many of the predicate issues, but I'll try to look into it next week. |
This should be fixed with the latest commits, and I no longer see that error in the test case you provided. Let me know if you see otherwise. Thanks for keeping active, and letting me know what bugs you find. Edit: Never-mind, I was seeing another bug that had been introduced. This issue does still seem to be here. |
Just for my own sake to keep track. Right now I'm seeing the following errors when setting newCoreDataStackUsingECD to YES:
|
I'm using NSExpression and NSExpressionDescription for calculating sums for multiple fields. Error Domain=NSSQLiteErrorDomain Code=1 "The operation couldn’t be completed. (NSSQLiteErrorDomain error 1.)" UserInfo=0x7fb2ce5e8dd0 {EncryptedStoreErrorMessage=near "FROM": syntax error} If I remove the encrypted-core-data store setup code and revert back to the default Apple one it runs fine. |
sum() queries are now supported |
I put together a test case that demonstrates trying to fetch using a predicate that references another managed object. If the store type is
EncryptedStoreType
, the fetch fails with this error:The test code uses a managed object has a temporary ID, but it fails in the same way if the object has a permanent ID.
The test behaves correctly if the store type is
NSSQLiteStoreType
.The text was updated successfully, but these errors were encountered: