You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Sean Finan (Jira)" <ji...@apache.org> on 2022/12/20 17:48:00 UTC
[jira] [Closed] (CTAKES-446) Piper file parameter value ignored when it contains quoted equals
[ https://issues.apache.org/jira/browse/CTAKES-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Finan closed CTAKES-446.
-----------------------------
Fix Version/s: 4.0.1
Assignee: Sean Finan
Resolution: Fixed
Fixed 2/26/2019.
Thank you Sean Mullane for the assist!
> Piper file parameter value ignored when it contains quoted equals
> -----------------------------------------------------------------
>
> Key: CTAKES-446
> URL: https://issues.apache.org/jira/browse/CTAKES-446
> Project: cTAKES
> Issue Type: Bug
> Components: ctakes-core
> Affects Versions: 4.0.0
> Environment: Java 1.8
> Reporter: Sean Mullane
> Assignee: Sean Finan
> Priority: Minor
> Labels: easyfix, piper
> Fix For: 4.0.1
>
>
> In piper file definition, parameters with a quoted "equals" sign in the parameter value are not picked up by the piper file reader.
> This occurs because the NAME_VALUE_PATTERN regular expression ignores parameter values containing "equals" signs. This pattern is valid in some cases, such as definition of a DBCollectionReader reader.
> Example:
> // Database Reader
> // Read documents from a database.
> reader org.apache.ctakes.ytex.uima.DBCollectionReader queryGetDocumentKeys="select txt.NOTE_ID instance_id from Note_Txt txt" queryGetDocument="select Note_text from Note_Txt txt where NOTE_ID = :instance_id"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)