I have a custom wiki markup behaviour.

By adding this behaviour to a model the afterFind callback checks the
data for fields specified in the behaviour params and create a mirror
field "wiki".$whateveritwascalled which has the content formatted.

The reason for an extra field is that it allows editing of the raw
data side by side with previewing of the formatted markup.

When a Model:find('threaded' is performed the children don't trigger
the behaviour, thus lacking the extra needed field.

As such data pulled from this model, if pulled as a threaded query, is
not correct as it doesn't trigger the needed behaviour to create the
correct data.

bug?
I can see they would code it this way for speed, but really, isn't
that a bug?

Personally I'd rather spend that CPU on getting what was expected then
save it and return something that wasn't.

-Ben

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

Reply via email to