[
https://issues.apache.org/jira/browse/NIFI-7069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026757#comment-17026757
]
ASF subversion and git services commented on NIFI-7069:
-------------------------------------------------------
Commit c255156f39a9bef6c54601295d3ec9856ecca759 in nifi's branch
refs/heads/support/nifi-1.11.x from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c255156 ]
NIFI-7069: Add groovy-dateutil module to scripting bundles
Signed-off-by: Pierre Villard <[email protected]>
This closes #4021.
> Groovy scripts no longer have access to date utilities
> ------------------------------------------------------
>
> Key: NIFI-7069
> URL: https://issues.apache.org/jira/browse/NIFI-7069
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.12.0, 1.11.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> As of NiFi 1.10 (via NIFI-5254), the version of Groovy included with NiFi is
> 2.5.0. There was a breaking change in that version where the date utilities
> (such as GDK java.util.Date.parse()) were moved into a separate module that
> is not included by default with the groovy-all module.
> This module is now missing from the NiFi Groovy components and thus any
> script using those classes/methods will fail:
> http://groovy-lang.org/releasenotes/groovy-2.5.html#Groovy2.5releasenotes-Breakingchanges
> The dateutil (and possibly other) Groovy modules should be included as
> dependencies in the groovy bundles (nifi-groovyx-bundle,
> nifi-scripting-bundle, possibly the groovy plugin for unit tests, etc.)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)