Daniel Dekany wrote:
I noticed that Products.TinyMCE assumes that all objects it founds with
folder listing has an UID() method (otherwise it raises exceptions, etc.).

Uh-up, that's bad. This is not generally a safe assumption, as UID() is Archetypes specific.

That's easy to satisfy with the AT-based content types (as those are
Products.Archetypes.Referencable-s), but I have mxm DynamicPage-s and that
type isn't AT-based  (it just extends Products.CMFCore.PortalContent and
DefaultDublinCoreImpl). After some fiddling they now seem to work on Plone
3.32, except this UID() thing... Is that really strictly needed, or it's
just TinyMCE that assumes too much? What's the best (fastest...) way of
adding UID support to mxm DynamicPages?

The same will happen with any Dexterity based content.

Which version of Products.TinyMCE are you on? I'm pretty sure it used to work fine with Dexterity content, so maybe something has changed?

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to