[ZPatterns] ZPatterns buglet

R. David Murray bitz@bitdance.com
Fri, 8 Jun 2001 16:08:14 -0400 (EDT)


OK, I finally got back to working on my ZPatterns-from-python problem.
Turns out it has nothing to do with instantiating a Specialist from
python.

My product first instantiates an instance of a class derived from
ObjectManager, and then instantiates my Specialist subclass inside
it.

When I do that, the links generated by RacksGroup and PluginGroup
are missing the name of the ObjectManager from their URLs.

This is true whether I use python to instantiate the Specialist, or
do it by hand from the management interface.

Changing my base class from ObjectManager to Folder fixes the
problem (the correct links are generated).  After some thought,
Folder seems the correct base class for my app anyway, so
for me the problem is solved.  However, I thought someone else
might be curious enough to figure out what the buglet is.

I'm doing all this under 2.3.2, and ZPatterns-with-stevea's-mods,
by the way.

--RDM