[ https://issues.apache.org/jira/browse/NIFI-7589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamás Bunth updated NIFI-7589: ------------------------------ Description: *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/" was: 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/" > 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: Major > > *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)