Bug: Modification of ZMSTable geometry in multilingual sites
Gregor Hoffleit <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Message-ID | <[email protected]> |
We're running into an Zope error with ZMSTables in multilingual sites.
After modifying the geometry of an global ZMSTable, we get an "Site
Error: IndexError" (see below for the traceback).
To reproduce the problem:
(1) In a bilingual site, create a global ZMSTable in the primary language.
(2) Switch into the secondary language, and save the table.
(3) Go back into the primary language, and add a row to the table.
(4) Switch into the secondary language and try to edit the table. BOOOM:
Site Error
An error was encountered while publishing this resource.
IndexError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 202, in publish_module_standard
* Module ZPublisher.Publish, line 150, in publish
* Module Zope2.App.startup, line 221, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module App.special_dtml, line 65, in __call__
* Module DocumentTemplate.DT_String, line 476, in __call__
* Module DocumentTemplate.DT_Let, line 76, in render
* Module DocumentTemplate.DT_In, line 703, in renderwob
* Module DocumentTemplate.DT_In, line 626, in renderwob
* Module DocumentTemplate.DT_Util, line 196, in eval
__traceback_info__: row
* Module <string>, line 0, in ?
* Module Products.zms.zmstable, line 365, in getRow
IndexError: list index out of range (Also, the following error occurred
while attempting to render the standard error message, please see the
event log for full details: 'thisObj')
I'm able to "repair" this problem by removing the added row in the
primary language.
Appearently you can workaround the problem by once adding a row in the
secondary language (e.g. in step 2).
Regards,
Gregor Hoffleit
--
Gregor Hoffleit <[email protected]>
Media Supervision Software Consulting GmbH
Georg-Friedrich-Haendel-Str. 13, 69214 Eppelheim/Heidelberg
Tel: +49 6221 705079-0 / Fax: +49 6221 705079-80
Amtsgericht Mannheim, HRB 336821, Geschäftsführer Reinhard Kratzke
http://www.mediasupervision.de/