-
Notifications
You must be signed in to change notification settings - Fork 5k
Expose UncPath for backward compatibility #17862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
Can you do this in all the retrieveFile methods to set that header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!!
[ERROR] org.apache.camel.component.smb.SmbComponentIT.testSmbRead -- Time elapsed: 2.028 s <<< FAILURE! |
yeah, that is strange, locally is working, this line of code https://github.com/apache/camel/pull/17862/files#diff-c8ac41955f06eb913c93ab390020b89defda37d45def4e970d1fd9aeae4601d4R244 is supposed to add that header |
346ebc9
to
9e39b6c
Compare
yeah its strange |
Maybe you can add some logging in that code to see what the CI server logs - its hard to reproduce this if it works locally but fails on ASF CI only. |
components/camel-smb/src/main/java/org/apache/camel/component/smb/SmbConstants.java
Show resolved
Hide resolved
9e39b6c
to
7fbcf84
Compare
okay I have a fix in the works |
okay fixed and merged in another commit |
Thanks a lot Claus. |
The previous smb implementation was providing more information wrt the absolute path, for example, if camel-smb is connected to a share
localhost/data-rw
, and files are created under data-rw, a Camel consumer absolute path would be/fileName
without data-rw, and there is no way to retrieve that information from the GenericFile, the previous implementation was handing smbj.File and that information was there.Does it make sense to add a header with that information?