[jira] [Updated] (NIFI-7589) Unpack processor tar unpacker creates incorrect path value

2020-07-14 Thread Peter Turcsanyi (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Turcsanyi updated NIFI-7589:
--
Component/s: Extensions

> 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
>  Components: Extensions
>Reporter: Tamás Bunth
>Assignee: Tamás Bunth
>Priority: Minor
>  Time Spent: 1h 10m
>  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)


[jira] [Updated] (NIFI-7589) Unpack processor tar unpacker creates incorrect path value

2020-06-30 Thread Jira


 [ 
https://issues.apache.org/jira/browse/NIFI-7589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamás Bunth updated NIFI-7589:
--
Priority: Minor  (was: Major)

> 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
>
> *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)


[jira] [Updated] (NIFI-7589) Unpack processor tar unpacker creates incorrect path value

2020-06-30 Thread Jira


 [ 
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)