[
https://issues.apache.org/jira/browse/NIFI-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15566281#comment-15566281
]
ASF GitHub Bot commented on NIFI-2887:
--------------------------------------
Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/1123
+1 LGTM, ran the unit tests and with a full NiFi, verified the NFE is not
presented and messages are parsed successfully. Merging to master, thanks!
> NumberFormatException in HL7ExtractAttributes for repeating segments with
> order control codes
> ---------------------------------------------------------------------------------------------
>
> Key: NIFI-2887
> URL: https://issues.apache.org/jira/browse/NIFI-2887
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.0.0, 0.7.0, 1.1.0
> Reporter: Joey Frazee
> Assignee: Joey Frazee
> Fix For: 1.1.0
>
>
> HL7ExtractAttributes is throwing a NumberFormatException [1] on repeating
> segment types that have an order control code instead of a sequence id in the
> first field; e.g., for the segment
> 'ORC|NW|987654321^EPC|123456789^EPC||||||20161003000000|||SMITH' the first
> field is 'NW' and not a numeric sequence id.
> While many of the repeating types have a numeric sequence id in that
> position, not all do, so the sequence ids can't be used for indexing the
> segments in our attribute names.
> 1. https://gist.github.com/jfrazee/c409b708fee4247fc3b044983512f504
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)