[Zope] Calendar Tag & Zope 2.3 and higher: Invalid or duplicate property id

Juan David Ibáñez Palomar jdavid@nuxeo.com
Thu, 03 Jan 2002 17:17:05 +0100


Are you sure it's a CalendarTag problem?

A quick glance at the traceback makes me think it has
nothing to do with the CT.

Send me your code and I'll try to figure out where is
the problem.



Kees de Brabander wrote:

> I've been using the Calendar tag since zope 2.1.6. In the process of
> upgrading to Zope 2.4.3 I found the calendar tag does not work anymore. If I
> try to edit a date property, I get a Bad Request error, value: Invalid or
> duplicate property id. Traceback see below. I've been experimenting a bit
> and created an example faithfully following the Jon Udell How-to. I imported
> this example in different versions of zope. The incompatibility with the
> calendar tag gets to the surface somewhere after 2.2.
> Did nobody else experience this?
> tiv,cb
> 
> Traceback (innermost last):
>   File D:\Zope\243\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
>   File D:\Zope\243\lib\python\ZPublisher\Publish.py, line 187, in publish
>   File D:\Zope\243\lib\python\Zope\__init__.py, line 226, in
> zpublisher_exception_hook
>     (Object: index_html)
>   File D:\Zope\243\lib\python\ZPublisher\Publish.py, line 171, in publish
>   File D:\Zope\243\lib\python\ZPublisher\mapply.py, line 160, in mapply
>     (Object: editCalendarProperty)
>   File D:\Zope\243\lib\python\ZPublisher\Publish.py, line 112, in
> call_object
>     (Object: editCalendarProperty)
>   File D:\Zope\243\lib\python\Shared\DC\Scripts\Bindings.py, line 324, in
> __call__
>     (Object: editCalendarProperty)
>   File D:\Zope\243\lib\python\Shared\DC\Scripts\Bindings.py, line 354, in
> _bindAndExec
>     (Object: editCalendarProperty)
>   File D:\Zope\243\lib\python\Products\PythonScripts\PythonScript.py, line
> 363, in _exec
>     (Object: editCalendarProperty)
>     (Info: ({'script': <PythonScript instance at 01BE2670>, 'context':
> <DTMLMethod instance at 01BDDD40>, 'container': <Folder instance at
> 01BD3D20>, 'traverse_subpath': []}, (), {}, None))
>   File Script (Python), line 5, in editCalendarProperty
>     (Object: guarded_getitem)
>   File D:\Zope\243\lib\python\OFS\PropertyManager.py, line 320, in
> manage_addProperty
>     (Object: Agenda)
>   File D:\Zope\243\lib\python\OFS\PropertyManager.py, line 243, in
> _setProperty
>     (Object: Agenda)
> Bad Request: (see above)
> 
> 
> 
> _______________________________________________
> 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 )
> 
>