You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2021/11/18 10:52:00 UTC
[jira] [Resolved] (NUTCH-2902) Jexl parsing error on statements
[ https://issues.apache.org/jira/browse/NUTCH-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel resolved NUTCH-2902.
------------------------------------
Resolution: Fixed
Patch applied in [e837324|https://github.com/apache/nutch/commit/e83732416e3ceaa01626aaa7c42085ef580ade6d]. Thanks, [~maxockner]!
{quote}JexlUtils helper that is used sometimes but not all of the time
{quote}
Easily possible. The Jexl options and components were added in several steps by multiple contributors. Feel free to open a separate issue to clean this up. Thanks!
> Jexl parsing error on statements
> --------------------------------
>
> Key: NUTCH-2902
> URL: https://issues.apache.org/jira/browse/NUTCH-2902
> Project: Nutch
> Issue Type: Bug
> Components: generator
> Affects Versions: 1.18
> Reporter: Sebastian Nagel
> Priority: Major
> Fix For: 1.19
>
> Attachments: jexl.patch
>
>
> (reported by [~maxockner] on the [user mailing list|https://lists.apache.org/thread/py6gf7njr3xyx0wm1wnv58vgp7fx0j30])
> [Jexl 3.0|https://commons.apache.org/proper/commons-jexl/changes-report.html#a3.0] enforced that a JexlExpression does not contains statements. However, NUTCH-2368 intended that a JexlScript is allowed. Need to switch from JexlExpression to JexlScript in Generator.
> But should also verify whether to fix other components where Jexl is used:
> - JexlExchange
> - JexlIndexingFilter
> - CrawlDbReader
--
This message was sent by Atlassian Jira
(v8.20.1#820001)