Skip to content

Handling of subobject storage for new items #6

@gogobd

Description

@gogobd

Folderish types are designed to be able to contain content. However when you use collective.folderishtypes in Plone and you simply add a folderish item and edit it immediately you will see that all the assets you uploaded through the editor will be stored as siblings of the item you just created. This is due to the fact that the new item does not "exist" yet, that is, before it has been saved once.
That's somewhat surprising and unwanted in our usecase.

  • Maybe that issue could be resolved with event subscribers that help to "track" the uploaded items (annotation in the intermediate/temporary/not-persistent parent object?) in order to move them into the type after it has been saved.
  • Maybe the right way to fix this is to configure/modify TinyMCE (even if that implies a kind-of dependency)
  • Maybe a combination of both?
    It would be great to find a good solution for that.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions