Hi, I am building a music database program, and I am having a problem. First off, this is the structure: ZMusicBase--- | zmbAlbum--- | zmbTrack The catalog for the product is created in the ZMusicBase directory. When I try to add a zmbAlbum (which has an Object Manager class) I get an error: Error Type: NameError Error Value: manage_editCataloger In the zmbAlbum_add file, the code looks like this: <dtml-call "REQUEST.set('zmb', ZopeTime().strftime('%Y%m%d%H%M%S'))"> <dtml-call "REQUEST.set('id',_.str(zmb))"> <dtml-with "zmbAlbum.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-call "propertysheets.zmbAlbumProperties.manage_editProperties(REQUEST)"> <dtml-call "manage_editCataloger('zmbCatalog')"> <dtml-call reindex_object> </dtml-with> Can anyone see a problem in this? Tane Piper Lead Designer - ZZICT Entertainment http://www.legiongame.nl
Where is "manage_editCataloger" supposed to be coming from? On Sun, 13 May 2001 19:18:04 +0200 tane@zzict.com wrote:
Hi,
I am building a music database program, and I am having a problem.
First off, this is the structure:
ZMusicBase--- | zmbAlbum--- | zmbTrack
The catalog for the product is created in the ZMusicBase directory. When I try to add a zmbAlbum (which has an Object Manager class) I get an error:
Error Type: NameError Error Value: manage_editCataloger
In the zmbAlbum_add file, the code looks like this:
<dtml-call "REQUEST.set('zmb', ZopeTime().strftime('%Y%m%d%H%M%S'))"> <dtml-call "REQUEST.set('id',_.str(zmb))">
<dtml-with "zmbAlbum.createInObjectManager(REQUEST['id'], REQUEST)">
<dtml-call "propertysheets.zmbAlbumProperties.manage_editProperties(REQUEST)">
<dtml-call "manage_editCataloger('zmbCatalog')"> <dtml-call reindex_object>
</dtml-with>
Can anyone see a problem in this?
Tane Piper Lead Designer - ZZICT Entertainment http://www.legiongame.nl
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Opps, fixed it :) I hadn't made zmbAlbum catalog aware! More errors cropping up now, but I will try everything before I seek help next time :) Tane Piper Lead Designer - ZZICT Entertainment http://www.legiongame.nl ----- Original Message ----- From: <tane@zzict.com> To: <zope@zope.org> Sent: Sunday, May 13, 2001 7:18 PM Subject: [Zope] Catalog Program
Hi,
I am building a music database program, and I am having a problem.
First off, this is the structure:
ZMusicBase--- | zmbAlbum--- | zmbTrack
The catalog for the product is created in the ZMusicBase directory. When I try to add a zmbAlbum (which has an Object Manager class) I get an error:
Error Type: NameError Error Value: manage_editCataloger
In the zmbAlbum_add file, the code looks like this:
<dtml-call "REQUEST.set('zmb', ZopeTime().strftime('%Y%m%d%H%M%S'))"> <dtml-call "REQUEST.set('id',_.str(zmb))">
<dtml-with "zmbAlbum.createInObjectManager(REQUEST['id'], REQUEST)">
<dtml-call "propertysheets.zmbAlbumProperties.manage_editProperties(REQUEST)">
<dtml-call "manage_editCataloger('zmbCatalog')"> <dtml-call reindex_object>
</dtml-with>
Can anyone see a problem in this?
Tane Piper Lead Designer - ZZICT Entertainment http://www.legiongame.nl
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris McDonough -
Tane Piper -
tane@zzict.com