OpenRefine / OpenRefine/CommonsExtension

Bug: extractFromTemplate and value.extractCategories GREL functions produce empty columns

Open
#61 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug expression language
Dominant language
Java
Stars
29
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I have been trying the extractFromTemplate and value.extractCategories GREL functions in various projects. Both work well in the GREL preview dialog window:

image
image

But then after clicking OK, in the project itself, both produce an empty column. I haven't been able to get it to work in any project for now, but just for testing purposes, here's a project in which it went wrong:
Barbalissos.openrefine.tar.gz

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by importing the linked Barbalissos.openrefine.tar.gz project and reproducing the difference between the GREL preview and the resulting project column. Then inspect the implementations of extractFromTemplate and value.extractCategories; done means both functions produce their expected values in the project rather than empty columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.