Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
6.2
-
None
-
None
Description
Configuration for copy and paste resolves implementation of
info.magnolia.ui.framework.ContentClipboard
to
info.magnolia.ui.contentapp.browser.JcrContentClipboard
which leads to:
java.lang.ClassCastException: info.magnolia.ui.datasource.jcr.JcrNodeWrapper cannot be cast to info.magnolia.ui.vaadin.integration.jcr.JcrItemId
To reproduce: configure copy and paste actions in an app like this:
copy:
icon: icon-copy
$type: copyContentAction
availability:
multiple: true
properties: true
rules:
- name: canCopyContent
$type: canCopyContentRule
paste:
icon: icon-paste
$type: pasteContentAction
availability:
root: true
rules:
- name: canPasteContent
$type: canPasteContentRule
- name: notDeleted
$type: jcrIsDeletedRule
negate: true
Checklists
Acceptance criteria