Re: What I'd like to see gsoc achieve: plone distributions
Espen Moe-Nilssen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
23. apr. 2015 kl. 05:36 skrev Asko Soukka <[email protected]>: > Asko Soukka wrote: >> espen wrote: >>>>> Before I start: How shoulld the content be constructed / maintained ? >>> Do you have a working example (code) of this, I am trying to import >>> content (plone.app.contenttypes), and it works for Folders, but not for >>> Pages (Documents) > > > Now when I think about it, also content export / import for any TTW Dexterity content types is still broken / missing. And that can be only fixed by making exportimport of plone.dexterity more CMF-aware (to read portal_type during export and use portal_types to create content during import). I'll try to remember to do that later... (it would not conflict with the current c.themesitesetup extras.zcml). I have noticed the same behavior when importing content with a profile: Folders gets imported correctly, while Pages etc do not get their Type correctly (= they get no type) …. so this is probably some error in «Plone itself» (?) > > -Asko > >> Dexterity content import did not work outside site-root or >> Archetypes-container due to a few missing adapters agains GenericSetup >> content import framework. That should now be fixed for >> plone.app.contenttypes in c.themesitesetup 0.13.0 with extras.zcml >> enabled (described in README). >> >> How did you create your export? You can create working export by: >> >> 1. Create a new site, with p.a.contenttypes and your example content >> 2. Upload your theme >> 3. Go to /Plone/++theme++example/@@export-site-setup >> where "Plone" is your site and "++theme++example" your theme >> 4. Click export (it defaults to content export) >> >> That was enough to export importable default Plone site content >> (including Folders, Documents and Collections). >> >> Cheers, >> Asko >> >> ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> _______________________________________________ >> Plone-developers mailing list >> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/plone-developers ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers