Mailing List Archive

[Zope-PTK] DemoPortal.zexp updated
I've just updated the PTK in the CVS. This update requires that
DemoPortal be deleted and reimported.

Jim Fulton passed word along to me that placing a folder in a ZClass
is a dangerous thing to do, and can lead to undefined behaviour. I had a
folder called 'Interfaces' in the Portal ZClass. I hoped that by changing
this, the odd problem of needing to restart after importing a ZClass would
go away, but alas, nom the probelm lives on. Suggestions would be
appreciated! This is quite nasty.

--
Mike Pelletier email: mike@digicool.com
Mild mannered software developer icq: 7127228
by day, super villain by night. phone: 519-884-2434
Re: [Zope-PTK] DemoPortal.zexp updated [ In reply to ]
----- Original Message -----
From: "Mike Pelletier" <mike@digicool.com>
To: <zope-ptk@zope.org>
Sent: Thursday, February 24, 2000 1:19 PM
Subject: [Zope-PTK] DemoPortal.zexp updated


> Jim Fulton passed word along to me that placing a folder in a ZClass
> is a dangerous thing to do, and can lead to undefined behaviour. I had a
> folder called 'Interfaces' in the Portal ZClass. I hoped that by changing
> this, the odd problem of needing to restart after importing a ZClass would
> go away, but alas, nom the probelm lives on. Suggestions would be
> appreciated! This is quite nasty.

I've been working on an updated version of KM|Net News (not a portal version
yet, but probably the last non-portal aware update). I found that when I
imported the new version from my development environment to the real server,
the ZClass instances contained within my main ZClass were broken until I
restarted. I have no idea why this is, but there may be a clue in the fact
that the main ZClass instance (a KMArticleStore) was just fine but the
KMYear instance underneath was broken.

Kevin