Skip to content

Parent containers always created as Folder rather than the related @type as defined in parent #139

@zopyx

Description

@zopyx

Situation:

  • fresh Plone 6.0.0a4 site
  • importing a File.json
  • some FIle objects have parents that are not Folder instances but more specialized DX container classes
  • these parent folders are being created as Folder independent of @type value of the parent item:

https://github.com/collective/collective.exportimport/blob/main/src/collective/exportimport/import_content.py#L831

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions