Bugnr: #5945
Wilbert Hengst - [EMAIL PROTECTED] VPRO-Digitaal - www.vpro.nl
Phone: +31-35-6712728 Fax:+31-35-6712733
Visit: Mediapark, Sumatralaan 45, Hilversum, The Netherlands
Mail: P.O.box 11, 1200 JC Hilversum, The Netherlands
----- Original Message -----
From: "cvs writer account" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 3:04 PM
Subject: CVS update: src/org/mmbase/module/corebuilders
>
> Date: Tuesday March 18, 2003 @ 15:04
> Author: cvsrw
>
> Update of /usr/local/cvs/src/org/mmbase/module/corebuilders
> In directory UE450:/tmp/cvs-serv25323
>
> Modified Files:
> Tag: MMBase-1_6
> TypeRel.java
> Log Message:
> Wilbert: fixed directionality for non-directional insrel
>
> Index: TypeRel.java
> ===================================================================
> RCS file: /usr/local/cvs/src/org/mmbase/module/corebuilders/TypeRel.java,v
> retrieving revision 1.27.2.13
> retrieving revision 1.27.2.14
> diff -b -c -r1.27.2.13 -r1.27.2.14
> *** TypeRel.java 5 Mar 2003 08:24:20 -0000 1.27.2.13
> --- TypeRel.java 18 Mar 2003 14:04:54 -0000 1.27.2.14
> ***************
> *** 32,38 ****
> * @author Daniel Ockeloen
> * @author Pierre van Rooden
> * @author Michiel Meeuwissen
> ! * @version $Id: TypeRel.java,v 1.27.2.13 2003/03/05 08:24:20 pierre Exp $
> * @see RelDef
> * @see InsRel
> * @see org.mmbase.module.core.MMBase
> --- 32,38 ----
> * @author Daniel Ockeloen
> * @author Pierre van Rooden
> * @author Michiel Meeuwissen
> ! * @version $Id: TypeRel.java,v 1.27.2.14 2003/03/18 14:04:54 vpro Exp $
> * @see RelDef
> * @see InsRel
> * @see org.mmbase.module.core.MMBase
> ***************
> *** 279,285 ****
> // Start to add the actual definition, this is then afterwards again,
> except if one of the builders could not be found
> added.add(typerel);
>
> ! boolean bidirectional =
> mmb.getRelDef().getNode(typerel.getIntValue("rnumber")).getIntValue("dir") > 1;
>
> inheritance:
> if(buildersInitialized) { // handle inheritance, which is not possible
> during initialization of MMBase.
> --- 279,287 ----
> // Start to add the actual definition, this is then afterwards again,
> except if one of the builders could not be found
> added.add(typerel);
>
> ! boolean bidirectional;
> ! if (InsRel.usesdir) { bidirectional =
mmb.getRelDef().getNode(typerel.getIntValue("rnumber")).getIntValue("dir") > 1;
} else {
> ! bidirectional = true; }
>
> inheritance:
> if(buildersInitialized) { // handle inheritance, which is not possible
> during initialization of MMBase.
> -------------------------------------------------------------------
>