bug with various link

5 views
Skip to first unread message

Alexis EidelMan

unread,
Jun 12, 2013, 12:40:49 PM6/12/13
to liam...@googlegroups.com
It seems to be a bug in the last 0.7 version (not a release yet).

If we have two link from an entity "ent" to an other "oth", link1 and link2, then the context is not available for both of the links.
If inv_link is link from oth to ent then
test1: link1.get(inv_link.count())
test2: link2.get(inv_link.count())

raise an error.

That new problem comes from get_conditional_context in entity.py.

Gaëtan de Menten

unread,
Jun 13, 2013, 5:40:39 AM6/13/13
to liam...@googlegroups.com

Thanks for testing and reporting the issue. It is now fixed in the
development version. The attached patch should fix the problem.

Gaetan
----------------------------------------------------------------------------

Disclaimer: please see "www.plan.be/disclaimer.html"

Please consider your environmental responsibility before printing this email

----------------------------------------------------------------------------
multilink.patch

Alexis EidelMan

unread,
Jun 13, 2013, 7:00:59 AM6/13/13
to liam...@googlegroups.com, g...@plan.be
Works well,
thanks.
Reply all
Reply to author
Forward
0 new messages