[ 
https://issues.apache.org/jira/browse/NIFI-14237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924899#comment-17924899
 ] 

Rob Fellows commented on NIFI-14237:
------------------------------------

Ah, yes. Glad you figured it out. I suspected as much and is why I asked about 
running HTTP or HTTPS.

 

Good point about the paste button in the operation panel. It should be removed 
as well since it can never work under the new approach taken with the 
copy/paste action. As of 2.1, the copy/paste went from a completely internal 
action to leveraging the system clipboard. The advantages of that are that now, 
copy/paste works across browser tabs/windows. Also, as of 2.2, the flow 
definition json stored in registries (the same format you get when you download 
a process group) is supported as a paste-able format as well. 

 

I've filed a Jira to address this: 
https://issues.apache.org/jira/browse/NIFI-14249

> 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)

Reply via email to