From issues-return-9803-apmail-nifi-issues-archive=nifi.apache.org@nifi.apache.org Fri Sep 23 17:32:25 2016 Return-Path: X-Original-To: apmail-nifi-issues-archive@minotaur.apache.org Delivered-To: apmail-nifi-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1E9819AA0 for ; Fri, 23 Sep 2016 17:32:25 +0000 (UTC) Received: (qmail 58728 invoked by uid 500); 23 Sep 2016 17:32:20 -0000 Delivered-To: apmail-nifi-issues-archive@nifi.apache.org Received: (qmail 58684 invoked by uid 500); 23 Sep 2016 17:32:20 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 58666 invoked by uid 99); 23 Sep 2016 17:32:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 17:32:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 82B6F2C0B0B for ; Fri, 23 Sep 2016 17:32:20 +0000 (UTC) Date: Fri, 23 Sep 2016 17:32:20 +0000 (UTC) From: "Pierre Villard (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (NIFI-2815) Cannot change script engine in InvokeScriptedProcessor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Villard updated NIFI-2815: --------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Cannot change script engine in InvokeScriptedProcessor > ------------------------------------------------------ > > Key: NIFI-2815 > URL: https://issues.apache.org/jira/browse/NIFI-2815 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 1.0.0 > Reporter: Matt Burgess > Assignee: Matt Burgess > Fix For: 1.1.0 > > > Due to a regression introduced in NIFI-2665, the script engine for an InvokeScriptedProcessor is instantiated only once. For instances already in the flow, the Script Engine property setting will be honored, but it cannot be changed. For new InvokeScriptedProcessor instances, the script engine will be set to ECMAScript and also cannot be changed. > Seems that before NIFI-2665, script engine setup was happening too often, now it is not happening enough. The script engine should be reset when the property has been modified. > A workaround is to change the processor to the way you want it, then save it as a template, then delete the original and re-load it from the template. -- This message was sent by Atlassian JIRA (v6.3.4#6332)