Hi Tristan,

once again, great work!

I don’t need a dump method. It anyway would be always to specific, as the
way you would want to have the tree printed usually differs.

I take the chance to point out a second time that I would really like to see
a way to store the tree path/level in a column, as this is very db heavy if
you need to get it for each visible node

 

.: Fabian

 

  _____  

From:
[EMAIL PROTECTED]
om
[mailto:[EMAIL PROTECTED]
groups.com] On Behalf Of Tristan Rivoallan
Sent: Donnerstag, 22. März 2007 17:08
To: [email protected]
Subject: [symfony-devs] Re: sfActAsNestedSetBehavior questions, comments, &
bug?

 

Hi,

On 3/21/07, Peter Van Garderen <[EMAIL PROTECTED]> wrote:

i just released sfPropelActAsNestedSetBehaviorPlugin-0.8.1 which fixes the
makeRoot() and getDescendants() issues you mentionned. Here's the changelog
:

 * fixed #1480 : non-abstracted column name (paul markovitch)
 * fixed bug in `getStubFromPeer()`
 * `makeRoot()` should accept non new objects (peter van garderen) 
 * `getDescendants()` should not try to get descendants if node is a leaf
(peter van garderen)
 * updated unit tests
 * enabled syntax highlighting in README

I am sorry I can't be more specific than that. Maybe it is just a problem
specific to my own test data. It doesn't sound like anyone else has had this
problem.


i'll produce unit tests specific to this issue to see if there really is a
problem and i'll provide a fix for 0.9.0 if necessary.

 

In the meanwhile though I in the process of setting up and testing 
edge-adjacency as an alternate hierarchical model for my application.
http://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch20.html#adjacency_

list_model


indeed, this should better feat with your needs. Why not make it into a
plugin ? ;)


finally, here's a little poll : would you (nested set plugin users) be
interested in having a dumpTree() method (some kind of nested set oriented
var_dump) for debugging purposes ? 
i've coded it already but i don't know if it can prove useful or not...

++
tristan



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to