Skip to content

Custom Function Testing is not working  #609

@guillo270120

Description

@guillo270120

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

when testing the custom functions, the result does not come out according to the operations and/or functions established

Expected Behavior

get the correct result according to the function placed

Steps To Reproduce

1.- Go to Custom functions, create new one.
2.-put a simple function like:

int simplesum(
int var1,
int var2,
) {
/// MODIFY CODE ONLY BELOW THIS LINE

int res = var1 + var2;
return res;

/// MODIFY CODE ONLY ABOVE THIS LINE
}

3.- Go to test function and put example values
4.- the result will be 0

Bug Report Code

IT4el8j6yIt1j7xa+KX5bcJB/TssKUQgULhEiuxEcAwbF5CqE5oufuj+QHZVOMO/dFY3OlmI8Tse/srSv9nhV+4HPiieftlyyqhMexX/fF+7VJCtDIeCRXxDI+xYChyHzbWnghF7HOpZSi0MwHGULumAcHbaJLrAC0cvMc+XMofXpVnhGhzOXn0Jg1ZSfCvr

Context

i cant test the functions implemented in FF

Additional info

image
image

I see the same issue on Github but this was closed #595

Environment

- FlutterFlow version: 3.1
- Platform:WEB
- Browser name and version: Chrome
- Operating system and version affected: Windows

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions