Re: One to Many Relationships

Sebastien Bigaret <[email protected]> Wed, 18 Aug 2004 16:57:39 +0200
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
"Kertis, Dennis" <[email protected]> wrote:
> Actually, I had that in my model but got this error:
> 
> Serious: couldn't load the model
> exceptions.ValueError
> invalid literal for int(): *
> 
> Here is the code:
> 
> <relation 
> 			name='topics'
> 			destinationEntity='Topic'
> 			deleteRule='2'
> 			multiplicityLowerBound='0'
> 			multiplicityUpperBound='*'
> thanks,
> Dennis

  That's definitely a bug. Try '-1' instead of '*'! Thanks for reporting.

-- Sébastien.



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285