export field contents does not return error
Operating system version
Mac & Windows
Description of the issue
FileMaker 12.0v2. I just wrote a script that exports a file in a container field to the desktop. Trying to trap a possible error I locked the file on the desktop and the script step does not replace the file, but also does not raise an error code.
Steps to reproduce the problem
Use the Export field contents script step with a container.
Lock the file that has been exported. Export again.
Get ( LastError ) <> 0
Get ( LastError ) = 0