MMBase

cloud.getNodeManager("people").getAllowedRelations(cloud.getNodeManager("typedef"),null,null) return much too many results.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.8.4
  • Fix Version/s: 1.9.7
  • Component/s: Core
  • Description:
    Hide
    <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0" prefix="mm"%>
    <mm:cloud jspvar="cloud">
      <jsp:expression>cloud.getNodeManager("people").getAllowedRelations(cloud.getNodeManager("typedef"),null,null)</jsp:expression>
    </mm:cloud>

    @ vpro returns:

    [NodeManager insrel( 2185178), NodeManager insrel( 70409), NodeManager funrel( 3321599), NodeManager insrel( 21), NodeManager insrel( 3608183), NodeManager insrel( 976274), NodeManager insrel( -1), NodeManager authrel( 23980590), NodeManager funrel( 3137675), NodeManager insrel( 3608180), NodeManager insrel( 1960048), NodeManager funrel( 2168238), NodeManager insrel( 1910945), NodeManager insrel( 5665513), NodeManager insrel( -1), NodeManager insrel( 989840), NodeManager authrel( 2271035), NodeManager insrel( 2189311), NodeManager insrel( 3608182), NodeManager funrel( 1593), NodeManager insrel( 3608194), NodeManager insrel( 1864945), NodeManager movierel( 3634287), NodeManager posrel( 124207), NodeManager insrel( 976295), NodeManager insrel( 32163388), NodeManager insrel( 70392), NodeManager insrel( 10293379), NodeManager funrel( 1340), NodeManager insrel( 922), NodeManager insrel( 2332922), NodeManager funrel( 9440), NodeManager insrel( 1909052), NodeManager insrel( 4796576), NodeManager insrel( 4217395), NodeManager posrel( 9329574), NodeManager insrel( 65711), NodeManager insrel( 3608181), NodeManager insrel( 4785970), NodeManager posrel( 3797025), NodeManager insrel( 10851771), NodeManager insrel( 976268), NodeManager insrel( 996288), NodeManager posrel( 1864951), NodeManager insrel( 71357)]

    It should have returned only one relationmanager.

    The theory is, that it goed wrong if the rnodemanager is typedef
    Show
    <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0" prefix="mm"%> <mm:cloud jspvar="cloud">   <jsp:expression>cloud.getNodeManager("people").getAllowedRelations(cloud.getNodeManager("typedef"),null,null)</jsp:expression> </mm:cloud> @ vpro returns: [NodeManager insrel( 2185178), NodeManager insrel( 70409), NodeManager funrel( 3321599), NodeManager insrel( 21), NodeManager insrel( 3608183), NodeManager insrel( 976274), NodeManager insrel( -1), NodeManager authrel( 23980590), NodeManager funrel( 3137675), NodeManager insrel( 3608180), NodeManager insrel( 1960048), NodeManager funrel( 2168238), NodeManager insrel( 1910945), NodeManager insrel( 5665513), NodeManager insrel( -1), NodeManager insrel( 989840), NodeManager authrel( 2271035), NodeManager insrel( 2189311), NodeManager insrel( 3608182), NodeManager funrel( 1593), NodeManager insrel( 3608194), NodeManager insrel( 1864945), NodeManager movierel( 3634287), NodeManager posrel( 124207), NodeManager insrel( 976295), NodeManager insrel( 32163388), NodeManager insrel( 70392), NodeManager insrel( 10293379), NodeManager funrel( 1340), NodeManager insrel( 922), NodeManager insrel( 2332922), NodeManager funrel( 9440), NodeManager insrel( 1909052), NodeManager insrel( 4796576), NodeManager insrel( 4217395), NodeManager posrel( 9329574), NodeManager insrel( 65711), NodeManager insrel( 3608181), NodeManager insrel( 4785970), NodeManager posrel( 3797025), NodeManager insrel( 10851771), NodeManager insrel( 976268), NodeManager insrel( 996288), NodeManager posrel( 1864951), NodeManager insrel( 71357)] It should have returned only one relationmanager. The theory is, that it goed wrong if the rnodemanager is typedef

Activity

Repository Revision Date User Message
MMBase SVN #26046 Tue Nov 27 14:01:55 CET 2007 michiel for MMB-1545 added a nnicer toString
Files Changed
MODIFY /mmbase/branches/MMBase-1_8/src/org/mmbase/bridge/implementation/BasicRelationManager.java
Hide
Michiel Meeuwissen added a comment - 2007-11-27 18:16
I think it has something to do with the fact that 'typedef' has node number 0 @vpro.
Show
Michiel Meeuwissen added a comment - 2007-11-27 18:16 I think it has something to do with the fact that 'typedef' has node number 0 @vpro.
Hide
Michiel Meeuwissen added a comment - 2007-11-27 19:01
I didn't yet fix it, but I did confiurm that typedef being 0 is the cause of all troubles, because the issue reproduces if I make it so it my own local mmbase. It must be fixed in the VirtualNodes and TreeSet and so in TypeRel.java which is a bit confusing stuff. And I run out of time now...

 
Show
Michiel Meeuwissen added a comment - 2007-11-27 19:01 I didn't yet fix it, but I did confiurm that typedef being 0 is the cause of all troubles, because the issue reproduces if I make it so it my own local mmbase. It must be fixed in the VirtualNodes and TreeSet and so in TypeRel.java which is a bit confusing stuff. And I run out of time now...  
Michiel Meeuwissen made changes - 2007-11-28 11:51
Field Original Value New Value
Fix Version/s 1.8.5 [ 10145 ]
Michiel Meeuwissen made changes - 2007-11-28 12:05
Fix Version/s 1.8.6 [ 10156 ]
Fix Version/s 1.8.5 [ 10145 ]
Michiel Meeuwissen made changes - 2008-03-14 11:08
Fix Version/s 1.8.7 [ 10160 ]
Fix Version/s 1.8.6 [ 10156 ]
Michiel Meeuwissen made changes - 2008-12-05 17:06
Fix Version/s 1.9.3 [ 10190 ]
Fix Version/s 1.8.7 [ 10160 ]
Michiel Meeuwissen made changes - 2010-03-04 20:15
Fix Version/s 1.9.4 [ 10191 ]
Fix Version/s 1.9.3 [ 10190 ]
Hide
Michiel Meeuwissen added a comment - 2010-06-18 14:22
only occurs when typedef=0.
Show
Michiel Meeuwissen added a comment - 2010-06-18 14:22 only occurs when typedef=0.
Michiel Meeuwissen made changes - 2010-06-18 14:22
Fix Version/s 1.9.5 [ 10213 ]
Fix Version/s 1.9.4 [ 10191 ]
Priority Major [ 3 ] Minor [ 4 ]
Michiel Meeuwissen made changes - 2010-10-15 14:35
Fix Version/s 1.9.6 [ 10231 ]
Fix Version/s 1.9.5 [ 10213 ]
Michiel Meeuwissen made changes - 2011-02-01 11:51
Fix Version/s 1.9.7 [ 10232 ]
Fix Version/s 1.9.6 [ 10231 ]

People

Dates

  • Created:
    2007-11-27 13:49
    Updated:
    2011-02-01 11:51