RE: [Zope] SQL trees...
Confirmed. Downgrading to 2.1.4 fixed it. How annoying... Thanks a lot! Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Philipp Auersperg [mailto:[EMAIL PROTECTED]] Sent: 21 August 2000 18:31 To: Mayers, Philip J; [EMAIL PROTECTED] Subject: Re: [Zope] SQL trees... Which Zope version do you use ? When I read your message I have a deja-vu: I encountered the same output when I use SQL based trees under Zope 2.1.6, it is a bug somewhere in the SQL method handling that appeared in 2.1.6 and is fixed in 2.2.0. Solution: switch back to 2.1.4 or forward to 2.2.0 or patch the existing 2.1.6 Philipp Auersperg (zwork) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SQL trees...
Which Zope version do you use ? When I read your message I have a deja-vu: I encountered the same output when I use SQL based trees under Zope 2.1.6, it is a bug somewhere in the SQL method handling that appeared in 2.1.6 and is fixed in 2.2.0. Solution: switch back to 2.1.4 or forward to 2.2.0 or patch the existing 2.1.6 Philipp Auersperg (zwork) *** REPLY SEPARATOR *** On 21.08.2000 at 16:43 Mayers, Philip J wrote: >Excellent. That answers that. > >I'm loath to ask this, since it's supposedly a FAQ, but I'm having trouble >with the tree... > >Following: > >http://www.zope.org/Members/anthony/tree-coding-tricks > >I've got: > > > > > > > >The SQL query is working - "test"ing network_children will give the correct >hierarchy. However, the tree generated looks like this: > >192.168/16 > 192.168/16 >192.168/16 >10/8 >172.20/16 > 10/8 >192.168/16 >10/8 >172.20/16 > 172.20/16 >192.168/16 >10/8 >172.20/16 >10/8 > > >Basically, the tree only seems to ever contain the top-level (children of >the root of the tree). The children of all the nodes is... another copy of >the root top-level nodes! Whu?!? A search for several variations of "SQL >tree" in all the relevant list/site archives didn't seem to help. Any ideas? > >Regards, >Phil > >+--+ >| Phil Mayers, Network Support | >| Centre for Computing Services| >| Imperial College | >+--+ > >-Original Message- >From: Chris Withers [mailto:[EMAIL PROTECTED]] >Sent: 21 August 2000 15:23 >To: Mayers, Philip J >Cc: '[EMAIL PROTECTED]' >Subject: Re: [Zope] dtml-let and quoting(?) or forcing to string > > >"Mayers, Philip J" wrote: >> >> >> >> >> > >Anything in a DTML tag that's inside "" is python, usually ;-) > >So, your dtml-let should be: > > >which is kinda yucky, don't you think? > >cheers, > >Chris > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] SQL trees...
Excellent. That answers that. I'm loath to ask this, since it's supposedly a FAQ, but I'm having trouble with the tree... Following: http://www.zope.org/Members/anthony/tree-coding-tricks I've got: The SQL query is working - "test"ing network_children will give the correct hierarchy. However, the tree generated looks like this: 192.168/16 192.168/16 192.168/16 10/8 172.20/16 10/8 192.168/16 10/8 172.20/16 172.20/16 192.168/16 10/8 172.20/16 10/8 Basically, the tree only seems to ever contain the top-level (children of the root of the tree). The children of all the nodes is... another copy of the root top-level nodes! Whu?!? A search for several variations of "SQL tree" in all the relevant list/site archives didn't seem to help. Any ideas? Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: 21 August 2000 15:23 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] dtml-let and quoting(?) or forcing to string "Mayers, Philip J" wrote: > > > > > Anything in a DTML tag that's inside "" is python, usually ;-) So, your dtml-let should be: which is kinda yucky, don't you think? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )