Hi,
I'm collective.nitf to Plone 4.3 and one problem arises by the way it was
moving fields between fieldsets. It defines the interface, enable the
IDublinCore behavior with generic setup, and use form.fieldset to move the
fields:
class INITF(form.Schema):
"""A news item based on the News Industry Text Format specification.
"""
...
form.fieldset(
'categorization',
label=_(u'Categorization'),
fields=['relatedItems', 'section', 'urgency', 'genre', 'subjects',
'language'],
)
That was working until Plone 4.2, but now with plone 4.3 it isn't...
supermodel claims about subject field not defined... I know there is a
couple of reports of this kind of problems out there... one of the possible
solutions is redefine the missing fields:
http://stackoverflow.com/questions/8901304/moving-fields-between-fieldsets-on-dexterity
But I tried another approach, its simple inherit INITF from IDublinCore,
not form.Schema... and I can also remove the IDublinCore behavior
declaration from GS... just because its already enabled by the
inheritance...
so, is this approach correct? possible drawbacks?
cheers,
--
Juan Pablo Giménez
skype & twitter: jpggimenez
Simples Consultoria <http://simplesconsultoria.com.br/>
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers