2
Vote

Import/Export Module: Import of Exported CustomForm is incorrect

description

I'm creating a ContactForm content type with a Name, Email and Message field and all of this is created just perfectly. I also create a custom form with the ContactForm content type selected. While exporting, I Tick the flags for CustomForm and ContactForm and I export both Data and Metadata. While this is persisted inside the recipe, it seems to get not correctly created. On import, the Custom Form is created, but it has the default Blog content type selected instead of the previously selected ContactForm, while the ContactForm content type is correctly imported. I tracked this down to the following in the recipe file:

Import/Export Module exports this:

<Parts>
...
<CustomFormPart />
...
</Parts>

While it does seem to work with this:


<Parts>
...
<CustomFormPart ContentPartSettings.Attachable="True" />
...
</Parts>

comments