Claus Ibsen created CAMEL-25938:
-----------------------------------
Summary: camel-ftp - the catalog says the download option of ftp,
ftps, sftp, mina-sftp, azure-files and smb defaults to false: it is true
Key: CAMEL-25938
URL: https://issues.apache.org/jira/browse/CAMEL-25938
Project: Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 4.18.0, 4.22.0, 4.23.0
Reporter: Claus Ibsen
Fix For: 4.24.0
{{RemoteFileEndpoint}} (camel-ftp-common, main 4065a7464c45, lines 65-69)
declares the {{download}} option without its default value:
{code:java}
@UriParam(label = "consumer,advanced", description = "Whether the FTP consumer
should download the file. ...")
private boolean download = true;
{code}
So the package plugin writes {{"defaultValue": false}} for {{download}} into
the catalog of ftp, ftps, sftp, mina-sftp and azure-files, which extend it, and
the option tables of their pages say the default is false. {{SmbConfiguration}}
(camel-smb, lines 64-68) declares its {{download}} the same way. The consumers
download by default.
*Proposed change*: add {{defaultValue = "true"}} to both {{@UriParam}}.
_Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)