collective.exportimport icon indicating copy to clipboard operation
collective.exportimport copied to clipboard

Temporarily disallow constraints when creating the parent folder chain

Open ale-rt opened this issue 2 years ago • 2 comments

Fixes #173

ale-rt avatar Jan 26 '23 15:01 ale-rt

Or you can use Products.CMFPlone.utils._createObjectByType to bypass these checks.

pbauer avatar Jan 31 '23 10:01 pbauer

Yeah, a context manager might be an idea.

Probably @pbauer idea is even better because it might be that even the type in not constrained it is not allowed in the FTI settings.

One other thing is that this always create a Folder. This might be a problem if later we import the proper object.

I am working on a migration and found some other things, I will try to contribute back as soon as possible!

ale-rt avatar Jan 31 '23 11:01 ale-rt