Page MenuHomePhabricator

Function arguments for user-generated functions are not loaded when adding a function implementation using “code”
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue

What happens?:

  • The first noticeable bug is that the labels for the functions is not loaded (instead we see a zid) on page load

Screenshot 2023-06-15 at 16.43.15.png (129×418 px, 8 KB)

  • The function in the code section does not have any of its arguments

Screenshot 2023-06-15 at 16.48.05.png (279×509 px, 19 KB)

What should have happened instead?:
The arguments and labels should have been loaded when we loaded the page.
The functionality works when we manually select a function, then choose code implementation and a programming language. Here's how it should look:

Screenshot 2023-06-15 at 16.47.15.png (272×738 px, 22 KB)

This implies that the issue is related to the zKeys not properly loading from the API.