[
https://issues.apache.org/jira/browse/NIFI-14237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924790#comment-17924790
]
Stefano commented on NIFI-14237:
--------------------------------
Hi,
I was referring to the paste button in the left "Operation pane":
!image-2025-02-07-08-22-17-643.png!
Anyway, I discovered that ClipboardItem is supported only on HTTPS
([https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem)] and indeed,
I'm serving NiFi over HTTP... so no surprise then that copy/paste does not
work. Strangely enough it worked on 2.0.0, but maybe scripts have changed since
then.
> 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
> Attachments: image-2025-02-07-08-01-18-518.png,
> image-2025-02-07-08-22-17-643.png
>
>
> 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)