AnsweredAssumed Answered

Recursive Custom Function Rename Bug

Question asked by MarkMunro[WriteTrackMedia] on Sep 21, 2018
Latest reply on Sep 25, 2018 by TSGal

FileMaker Pro 17.0.2.205

macOS 10.13.6

MacBook Pro (15-inch, Late 2016)

 

Description

A recursive custom function will automatically change the name of recursive calls to itself to a name change when you click "Cancel"

 

How to replicate

  1. Create a recursive custom function and save (see 1.png)
  2. Open the function and change the name but do not update the recursive call (see 2.png)
  3. Click Save and get an “This function cannot be found” error (see 3.png).
  4. Click "OK" to dismiss the error.
  5. With the new name at the top but the recursive call(s) not updated, click "Cancel" to close the Edit Custom Function dialog.
  6. Reopen the function. You will see that the internal call now has the new name even though the function still has the old name at the top. The function will not save until you correct the recursive call(s).

 

Note:

This bug does not happen if you skip step 3 & 4 and instead type a new name and immediately click "Cancel."

 

— Mark Conway Munro

Attachments

Outcomes