-
Notifications
You must be signed in to change notification settings - Fork 395
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
failed assertion 'relationship': fetch requests with substitution variables #15
Comments
This issue is a stopper for me. |
I think this was fixed in 1.16? http://github.com/rentzsch/mogenerator/commit/6bd8051a70d32fe73c1965cb449d2f40d403260a |
Jonathan The tar file with model can be download from: http://www.zdima.net/downloads/model.tar Let me know if there is something in the data model that I am not suppose to do, otherwise the issue seems to be exist. Thanks |
Ah, thanks for the data. Yeah, that's a known TODO: I don't need this feature yet, do want to tackle implementing it? |
Looks like duplicated as #81 |
Duplicated as #124 |
#33 asks for better error reporting |
Dup'd as #139 |
Dup'd as #81 |
Dup'd as #114 |
Dup'd as #92 |
…th substitution variables. Tests passing.
Hi,
I'm having an issue with using fetch requests causing mogenerator to present the following error:
mogenerator -m ./Resources/DataModel.xcdatamodel/ -O ./Classes/Managed\ Objects/
/Users/wolf/code/github/mogenerator/mogenerator.m:80: failed assertion `relationship'
Abort trap
This seems to come down to creating a fetch request that uses substitution variables in combination with a request that gets the LHS from a relationship. So this causes mogenerator to fail: user.username == $username, wheras this does not requestIdentifier == $request_identifier. I'm not too good at explaining technical details so I have uploaded a screencast so you can see what I am on about. The screencast is available here: files.me.com/insertjokehere/qa9jg7.mov
The text was updated successfully, but these errors were encountered: