You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have the same problem in the caching control panel where you can choose to "Take a snapshot of the site prior to importing new setting." I never do that, because I know it would export the content as well, which makes no sense.
I remember that long ago, maybe in Plone 3, I had a problem because some content from Products.Poi could not be exported this way. I ended up making an empty exporter, registered only for issues. Still there, I see.
So yes, I can see that getting rid of this export step could be useful.
Of course, some people will like the export step and use it. And the export step is in Products.CMFCore, and I expect that people will complain if we really remove it there.
Here is the Python code of the export step. But where is it defined in zcml? Ah, that is in Products.CMFPlone. I did not expect that.
So we could remove it if we want to. We could do that in Plone 6.1.
Idea for keeping backwards compatibility:
Keep registering the content export step.
Let the step point to a new function in Products.CMFPlone.
Let this check an environment variable, something like PLEASE_LET_ME_HAVE_MY_CONTENT_EXPORT_STEP. ;-)
If this env variable is not set, we do nothing.
If the environment variable is set, we print a warning that this will be removed in Plone 7, and then we call the current function from CMFCore.
@mauritsvanrees That sounds kind of complicated, and I really doubt the content GS step is used much. My first inclination is to just remove the ZCML registrations of the content step, and document in the 6.1 upgrade guide how to add them to your own project if you need them.
For Plone 6 and earlier, it might be possible to use z3c.unconfigure in your project to ignore these zcml registrations.
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
Often, when I want to do an export of the whole site configuration in http://localhost:8080/Plone/portal_setup/manage_exportSteps simply click the "Export all steps" button:
But that one also exports the
exportSiteStructure
step:For a site with production data, this can easily take a very long time.
Now that we are working on
plone.exportimport
, this export step will become unnecessary.I'd recommend to remove the step or move it to a separate section where it isn't included in the site's configuration export.
What I did:
In a site with quite some data:
Along with the site configuration, the whole content structure is also exported and this can take a very long time.
What I expect to happen:
What actually happened:
What version of Plone/ Addons I am using:
The text was updated successfully, but these errors were encountered: