You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/14 15:36:00 UTC
[jira] [Commented] (NIFI-7589) Unpack processor tar unpacker
creates incorrect path value
[ https://issues.apache.org/jira/browse/NIFI-7589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157463#comment-17157463 ]
ASF subversion and git services commented on NIFI-7589:
-------------------------------------------------------
Commit 72666a9c7e87c39110039ac38b4ea303c317330d in nifi's branch refs/heads/main from Tamás Bunth
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=72666a9 ]
NIFI-7589 Fix path value when unpacking tar
Refactor: remove variable reassignment
This closes #4371.
Signed-off-by: Peter Turcsanyi <tu...@apache.org>
> Unpack processor tar unpacker creates incorrect path value
> ----------------------------------------------------------
>
> Key: NIFI-7589
> URL: https://issues.apache.org/jira/browse/NIFI-7589
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Tamás Bunth
> Assignee: Tamás Bunth
> Priority: Minor
> Time Spent: 1h
> Remaining Estimate: 0h
>
> *Steps to reproduce*:
> * Create a tarball with one file in it.
> * Create a flow:
> {code:java}
> Getfile -> UnpackContent -> logAttribute
> {code}
> ** Set Getfile "directory" to read the tarball
> ** Set UnpackContent "PackagingFormat" to tar.
> * Examine the 'path' flowfile attribute in the logs.
> *Expected results*:
> Since the file is in the tarball root, "path" attribute should be "." or "/".
> *Current results*:
> "null/"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)