When we are going to paste multiple objects into a folder, it is taking a long time. I see that the manage_pasteObjects method is called once for each object, inside a for:
|
for parent, ids in parents_ids.items(): |
|
result = self.context.manage_pasteObjects( |
|
cb_copy_data=self.clipboard(parent, ids) |
|
) |
Doesn't this slow down the operation?
I see that in Plone Classic it is called only once:
https://github.com/plone/plone.app.content/blob/a61a7d2335b0d24b15cae9d9422b376a948177e6/plone/app/content/browser/contents/paste.py#L41
When we are going to paste multiple objects into a folder, it is taking a long time. I see that the
manage_pasteObjectsmethod is called once for each object, inside a for:plone.restapi/src/plone/restapi/services/copymove/copymove.py
Lines 82 to 85 in ae90f0e
Doesn't this slow down the operation?
I see that in Plone Classic it is called only once:
https://github.com/plone/plone.app.content/blob/a61a7d2335b0d24b15cae9d9422b376a948177e6/plone/app/content/browser/contents/paste.py#L41