[ZPatterns] error when changing the Base ZClass for a Rack

Joachim Schmitz js@aixtraware.de
Mon, 29 Oct 2001 08:33:04 +0100 (CET)


Hi,

this is a resend of a mail from last week:

If I store my persistent items in a SQL-database, I still have to specify a
ZClass for the storage, eventhough it seams it can be a dummy. Cause I just
specified an existing ZClass from another project for a test.
After I got that working, I thought it would be better to create a
DummyZClass for that.

But when I  change the base ZClass of my specialist rack, I get the
following error, when doin a getItem to that rack:

Error type: AttributeError
Error value: _setId

File Zope-2.4.1//lib/python/Products/ZPatterns/Specialists.py, line 34, in getItem
    (Object: ProviderContainer)
  File Zope-2.4.1//lib/python/Products/ZPatterns/Rack.py, line 59, in getItem
    (Object: ProviderContainer)
  File Zope-2.4.1/lib/python/Products/ZPatterns/Rack.py, line 96, in retrieveItem
    (Object: ProviderContainer)
  File Zope-2.4.1/lib/python/Products/ZPatterns/Rack.py, line 236, in _RawItem
    (Object: ProviderContainer)
AttributeError: (see above)




Mit freundlichen Grüßen

Joachim Schmitz

AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163