[ZPatterns] Base ZClass for Rack

Joachim Schmitz [email protected]
Fri, 26 Oct 2001 09:08:45 +0200 (CEST)


Hi,

If I store my persistent item in a SQL-database, I still have to specify a
ZClass for the storage, eventhough it seams it can be a dummy. Is this
correct ?

On the other hand it is not possible to change the base ZClass. Or better it
is possible, but then a getItem to that rack results in:

Error type: AttributeError
Error value: _setId

File /lib/python/Products/ZPatterns/Specialists.py, line 34, in getItem
    (Object: ProviderContainer)
  File /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