[INT-1921] INT-1885 causes the default remote-file-separator to be initialized to an empty string, rather than the previous default of "/" Created: 28/May/11 Updated: 18/Jul/11 Resolved: 31/May/11
|Reporter:||Pavel Tcholakov||Assignee:||Oleg Zhurakousky|
|Time Spent:||Not Specified|
Up to Spring Integration 2.0.3, not specifying a remote-file-separator for inbound SFTP/FTP adapters would set a default value of "/". In 2.0.4, the implicit default accidentally changed to "".
|Comment by Mark Fisher [ 28/May/11 ]|
There are 2 options here. One is to use element.hasAttribute() in order to distinguish between nothing being provided and the end-user configuring just an empty string (see
|Comment by Pavel Tcholakov [ 28/May/11 ]|
I quite like the idea of adding it to the XSD - as long as the default is "/" in the Java source code as well as you say.
|Comment by Oleg Zhurakousky [ 31/May/11 ]|
Fixed. The '/' was added as a default to the schema of both FTP and SFTP.