possible Bug with datatables as child elements
Niels Dettenbach <[email protected]> Tue, 05 Nov 2013 12:03:42 +0100
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Organization | Syndicat IT&Internet |
| Message-ID | <2716086.psU8Y5q6mV@gongo> |
--nextPart5896227.zybK3Jnde8
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Dear all,
may be i hit a bug in newer ZMS versions:
If i try to add a special object which is of type "datatable" to a ZMSFolder
or to ZMS website object, i get the following error in the Zope log output:
--- snip ---
2013-11-05T11:05:41 ERROR Zope.SiteErrorLog 1383645941.540.292056148642
http://abc.de/apool/cmszms/content/manage_addProduct/zms/manage_addzmscustomform
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module App.special_dtml, line 72, in __call__
Module DocumentTemplate.DT_String, line 477, in __call__
Module DocumentTemplate.DT_With, line 78, in render
Module App.special_dtml, line 72, in __call__
Module DocumentTemplate.DT_String, line 477, in __call__
Module DocumentTemplate.DT_Let, line 77, in render
Module DocumentTemplate.DT_Let, line 77, in render
Module DocumentTemplate.DT_Util, line 210, in eval
- __traceback_info__: RESPONSE
Module <string>, line 1, in <module>
TypeError: manage_addZMSCustom() got an unexpected keyword argument 'lang'
--- snap ---
My special object seems not to be the point - if i define testwise a new
special object of type "datatable" ("Datentabelle") with just the initial
record set, define a field of my new type on a ZMSFolder or ZMS Object and
then try to add such a new datatable type object on a ZMSFolder object i get
alwas the same error.
It seems that manage_addZMSCustom() does not act correctly with datatable
types anymore in that scenario.
The same special object worked in older versions. If such an object still
exist after upgrades to newer ZMS / Zope versions i can modify and work with
it as usual - but can't create new anymore.
I tried to define or add is as 1-n mono and multilingual field with no change.
If it helps to investigate i can post the object XML here.
While other object types seem to work as usual here.
any help would be very welcome here.
many thanks in advance.
best reards,
Niels.
--
---
Niels Dettenbach
Syndicat IT & Internet
http://www.syndicat.com
PGP: https://syndicat.com/pub_key.asc
---
--nextPart5896227.zybK3Jnde8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIbBAABCAAGBQJSeNCSAAoJEM78prARigUn+ykP+JGCZ9YTvDmnhVYcz8l2Cn9I
EFbwbcZ8/ljSC5BgSX5Us5jQIYVOsLz1V/Ag6/Z3Uo2j9Xpr0Tgoe1OiZT7l5fs4
R7gVvwvHguqxNTSVNe39FSVG27tDMbIIktVyP7HaAXVNy6jCc4WH7b4jFSO+WsIE
ilWTdJ/88Y2RDqu8lZanpbmDO86avs46X4AhG4wqlyDerovCo2tmWPwCwFc8as3Y
LZDNAC0BhNhRYtwGxthZz6vzc+ytZgydsGiLSTHtc/d9MxHw31OfynX5EA/dZJ97
3duUNnm4l8BgphKUGq8r9Fzpw1sFn+CaSX84H4zgg1YK1ofT8hR+MB5JGKwtHmFz
z4kUP8JQ39BpXQA7UKc+RZQrnZNQoQH1PyS2OfViQrOSDlt02Kj8ayRP21g1TZfA
ixgdt/6rMPARhQOOys4+0VqQ2gydCs7htBc+1mI3uUIklnecmG6O16ENee43EbQX
9IiHz4yymhw4Iz/rcCIdc1dHDCyL5mDVII2di62/cuOKDRcQCdCxqdfid1INKunQ
QIB02xHSwxJekjOoX5J4RhfxcKavnm+FoUCt1MpfwaP236M/a8hOVJ9cQvCvRnf1
nZFXy3tDSAIiSnmjpQkA354hieurJ5aMgpY7Uv0zkfxHRByBzVJyWy6fLv671LPS
Xaq8PkGlnFxFdFfDUL8=
=Yp81
-----END PGP SIGNATURE-----
--nextPart5896227.zybK3Jnde8--