Skip to content
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

IRelation deserialize expects object, should be comparing two IntIds #23

Open
mtrebron opened this issue Jul 22, 2016 · 0 comments
Open

Comments

@mtrebron
Copy link

In https://github.com/zopefoundation/zope.intid/blob/master/src/zope/intid/interfaces.py#L21

queryInt() expects an object and returns its unique id

https://github.com/collective/transmogrify.dexterity/blob/master/transmogrify/dexterity/converters.py#L493

should use queryObject() when comparing the id which is being imported and return
RelationValue(value) when successful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant