Calendar Tag & Zope 2.3 and higher: Invalid or duplicate property id
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)
tor, 2002-01-03 kl. 11:21 skrev Kees de Brabander:
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)
Have you tried to upgrade your CalendarTag ?? I also had problems with some older versions of CalendarTag but an upgrade helped. -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org ICQ: 26680028 Quote of the day: When a single line of script in Linux can do things that'd keep you pointing-and-clicking forever in Windows, you have great motivation to learn that line of script. - Chris Worth on The Microsoft Matrix"
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: "Kees de Brabander" <cj.de.brabander@hccnet.nl> Cc: "Zope mailinglist" <zope@zope.org> Sent: Thursday, January 03, 2002 11:25 AM Subject: Re: [Zope] Calendar Tag & Zope 2.3 and higher: Invalid or duplicateproperty id
tor, 2002-01-03 kl. 11:21 skrev Kees de Brabander:
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
Have you tried to upgrade your CalendarTag ?? I also had problems with some older versions of CalendarTag but an upgrade helped.
-- Gitte Wange Jensen
Yes I used version 1.0.10. cb
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 )
participants (3)
-
Gitte Wange -
Juan David Ibáñez Palomar -
Kees de Brabander