Christopher Gambino created NIFI-2800:
-----------------------------------------
Summary: GetFile Processor Appends overrides last slash in
filename to always be \
Key: NIFI-2800
URL: https://issues.apache.org/jira/browse/NIFI-2800
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.0.0
Environment: This was discovered on a windows machine running nifi
server locally
Reporter: Christopher Gambino
Priority: Minor
When using the GetFile processor all flowfiles created have an "Absolute.Path"
attribute. This absolute path is taken from the directory field of the GetFile
configuration. The last slash in the directory is always over-ridden to be '/'
even when the user puts "\" in the directory structure.
Example:
Configuraton - "Directory": "C:\Samplepath\SampleFolder\"
Output Flowfile - "Absolute.Path": "C:\Samplepath\SampleFolder/"
I believe the intended function of this should not replace the last \ with a /.
This creates issues when using the attribute in later stages with other
processors such as "ExecuteStreamProcess.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)