-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Function can not be saved with the specific function name. #5402
Comments
Hello! I wasn't able to replicate the issue. I created a function with a long name, and it saved correctly without any problems. It’s possible that the function itself had an issue earlier, or the system didn’t detect it until you changed the name and synced properly. Let me know if the issue happens again, and I’d be happy to investigate further! |
Thank you for your confirmation. It seems the length of function name is not the factor of the bug.
"The function is empty or cannot be parsed. Make sure not to modify code outside of the designated area." If I change name to convertTransportBureau, save works fine. |
Hello again! I believe the main issue here isn’t just about being able to save the function, but rather a potential issue with the custom function itself. It seems that changing the function name might be overriding an underlying error, allowing you to save it. From my understanding, FlutterFlow doesn’t support returning This should allow the function to save properly without requiring a name change as a workaround. Let me know if you run into any issues! |
I'll take a look at that! In the meantime, try adding an |
Hello again! Did the solution provided help resolve the issue? |
Can we access your project?
Current Behavior
Step to reproduce:
Current Behavior:
"The function is empty or cannot be parsed. Make sure not to modify code outside of the designated area."
If I change function name to "convertToTransportBureau", save works fine without other changes.
Expected Behavior
Expected Behavior:
Save works fine, or give appropriate error message such as "Function signature is too long."
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4wls/qx412rtxE17rAccFv+TwWGDs5aucele1hRis8JJToPLAUZ8zBM05vZr3nTHxme1n8pHoy/PfqiPOXUPU7ByuYRaJZzpdqZwzMTkOhMKqvDLiJfW1STMRgChWf07S4ngknBNt2WHAS112QfueycC7aN7rGOWojH/2LKdeK2SrDX1iXc2URm05KZDPz
Visual documentation
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: