Skip to content

Y20250124-1000

@ptziegler ptziegler tagged this 24 Jan 08:33
The change done in 9c6c5519dfb245b2b1c9bf5b3686cf9c324bd67e introduces
a regression due to which it is no longer possible to export a file to
the file system, if the file already exists.

When copying a file using the Files API, one needs to explicitly set the
REPLACE_EXISTING flag, in order to overwrite the target file, otherwise
a FileAreadyExistsException is thrown.

Note: The "writeFile" method is only called when the user explicitly chose to overwrite the existing file. It is therefore safe to always set this flag.
Assets 2
Loading