[Zope] Help with creating application/product
Dale Lance
d_lance@email.msn.com
Tue, 14 Sep 1999 19:17:50 -0500
Thanks but that didn't help. I changed it to another property name 'ad_id'
and still get the same error. The 'sample' in the docs has id, which is
what is throwing me. Is there a bug in the request handler re:
Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line
> > 321, in eval
> > (Object: manage_clone(Home,REQUEST['id'],REQUEST))
> > File <string>, line 0, in ?
----- Original Message -----
From: Loren Stafford <lstafford@icompression.com>
To: Dale Lance <d_lance@email.msn.com>; <zope@zope.org>
Sent: Tuesday, September 14, 1999 7:29 PM
Subject: RE: [Zope] Help with creating application/product
> "id" is a reserved property name. Zope uses it for the id of the object.
>
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dale
> > Lance
> > Sent: Tuesday, September 14, 1999 16:38
> > To: zope@zope.org
> > Subject: [Zope] Help with creating application/product
> >
> >
> > I am in the middle of the Zope Content Managers Guide (page 31).
> > I am creating a sample product as described but with my own fields and
> > values.
> > I need an 'id' field and have tried to include one as shown in the
sample
> > but keep getting this error:
> >
> >
> >
> > Zope Error
> > Zope has encountered an error while publishing this resource.
> >
> > Error Type: KeyError
> > Error Value: id
> >
> >
> >
> > ------------------------------------------------------------------
> > ----------
> > ----
> >
> > Troubleshooting Suggestions
> >
> > This resource may be trying to reference a nonexistent object or
variable
> > id.
> > The URL may be incorrect.
> > The parameters passed to this resource may be incorrect.
> > A resource that this resource relies on may be encountering an error.
> > For more detailed information about the error, please refer to the HTML
> > source for this page.
> >
> > If the error persists please contact the site maintainer. Thank
> > you for your
> > patience.
> >
> >
> >
> >
> > Traceback (innermost last):
> > File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py,
> > line 214,
> > in publish_module
> > File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py,
> > line 179,
> > in publish
> > File C:\Program Files\WebSite\lib\python\Zope\__init__.py, line 201,
in
> > zpublisher_exception_hook
> > (Object: RoleManager)
> > File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py,
> > line 165,
> > in publish
> > File C:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line
160,
> > in mapply
> > (Object: Builder)
> > File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py,
> > line 102,
> > in call_object
> > (Object: Builder)
> > File C:\Program Files\WebSite\lib\python\OFS\DTMLMethod.py, line 145,
in
> > __call__
> > (Object: Builder)
> > File C:\Program
Files\WebSite\lib\python\DocumentTemplate\DT_String.py,
> > line 502, in __call__
> > (Object: Builder)
> > File C:\Program
> > Files\WebSite\lib\python\DocumentTemplate\DT_With.py, line
> > 133, in render
> > (Object: manage_clone(Home,REQUEST['id'],REQUEST))
> > File C:\Program
> > Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line
> > 321, in eval
> > (Object: manage_clone(Home,REQUEST['id'],REQUEST))
> > File <string>, line 0, in ?
> > File C:\Program
> > Files\WebSite\lib\python\DocumentTemplate\DT_Util.py, line
> > 156, in careful_getitem
> > File C:\Program Files\WebSite\lib\python\ZPublisher\HTTPRequest.py,
line
> > 758, in __getitem__
> > KeyError: (see above)
> >
> >
> > This is on a windoze98 box running Zope 2.0
> >
> >
> > Can anyone help?
> >
> >
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://www.zope.org/mailman/listinfo/zope
> >
> > (To receive general Zope announcements, see:
> > http://www.zope.org/mailman/listinfo/zope-announce
> >
> > For developer-specific issues, zope-dev@zope.org -
> > http://www.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>