AnsweredAssumed Answered

Copy/Pasting a custom function writes no errors to import.log file

Question asked by disabled_mrw-old-account-do-not-use on Oct 27, 2014
Latest reply on Oct 30, 2014 by philmodjunk

Summary

Copy/Pasting a custom function writes no errors to import.log file

Product

FileMaker Pro

Version

all

Operating system version

all

Description of the issue

If you paste a custom function into a solution and it breaks (because it references missing things), no error message is written into the import.log file, rather the contents of the custom function is commented out.

Please treat this/all copy/paste problems with top priority….

- BECAUSE developers RELY on copy/paste working as you would expect.
- BECAUSE developers RELY on the import.log to check the correctness of their work.

Steps to reproduce the problem

1. Create two custom functions A and B where A calls B
2. Paste Function A into a new file
3. Look at the import.log file
4. Look at the contents of the custom function

Expected result

1. The contents of the custom function is commented out because there was an error while pasting it.
2. The import log file contains an error message.

Actual result

1. The contents of the custom function is commented out because there was an error while pasting it. BUT:
2. The import log file contains NO error message.

Workaround

Look into every custom function that you paste to check that it has  not broken.

Outcomes