[
https://issues.apache.org/jira/browse/NIFI-14237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924569#comment-17924569
]
Rob Fellows commented on NIFI-14237:
------------------------------------
[~steunix], a couple of things. As described in the comment here, the paste
action has been removed from the context menu for specific reasons. However,
CMD+V (or CTRL+V on windows) does still paste copied content.
As far as the console error you are seeing, I can't seem to reproduce this in
the 2.1.0 release or in the current main branch. Are there any more details
that you can provide? Chrome version, security model (HTTPS/HTTP), type of
processor you are copying, permissions/policies on the processor, anything else
that you may think relevant.
> Cannot copy/paste processors since version 2.1.0
> ------------------------------------------------
>
> Key: NIFI-14237
> URL: https://issues.apache.org/jira/browse/NIFI-14237
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 2.1.0, 2.2.0
> Environment: Ubuntu 24.04
> Reporter: Stefano
> Priority: Minor
>
> Hi,
> when trying to copy/paste a processor in the canvas, the "paste" button never
> gets enabled.
> In the browser debug window (Chrome) you get this as soon as you press the
> "Copy" button:
> chunk-4JRAZRHD.js:7 ERROR ReferenceError: ClipboardItem is not defined
> at action (chunk-ZFZRTNK2.js:1:31328)
> at e.copy (chunk-ZFZRTNK2.js:1:62516)
> at chunk-ZFZRTNK2.js:1:58239
> at Zh (chunk-4JRAZRHD.js:7:100492)
> at o (chunk-4JRAZRHD.js:7:100677)
> at HTMLButtonElement.<anonymous> (chunk-4JRAZRHD.js:8:26504)
> at f.invokeTask (polyfills-FFHMD2TL.js:1:7068)
> at Object.onInvokeTask (chunk-4JRAZRHD.js:7:29801)
> at f.invokeTask (polyfills-FFHMD2TL.js:1:6989)
> at t.runTask (polyfills-FFHMD2TL.js:1:2375)
> Clearing cache does not help.
> It worked fine in 2.0.0, but stopped working in 2.1.0 and 2.2.0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)