Closed absolutitecinfo closed 6 hours ago
Hi @absolutitecinfo! I wasn’t able to reproduce the issue on my end. Could you please try reproducing it in a blank project? This would help us isolate the problem.
Hi! Just following up here, any chance you can provide more information? The bug report code you provided points to a button, which doesn't open a custom popup or execute a callback.
Can you send us the bug report code to the part of your app that triggers the popup / callback? And can you include a screenshot or video to help us isolate the issue?
We've been trying to reproduce but have not been able to. Without this information we aren't able to figure out the root cause of the issue. Thank you so much!
Apologies for the delayed response. It’s a national holiday here in Brazil, and the kids are home! Despite already having reported the step-by-step details of my issue in the ticket I opened, I’ve made an extra effort to create a tutorial demonstrating the two critical cases we’re facing, where this behavior is impacting several ongoing projects.
Also, in the same ticket, I had already included the Bug Report Code (Required). However, here is my project ID for your reference: bluetooth-i-o-tv5-g1jvyu.
The first case involves the Refresh Database.
The second case involves Refresh being invoked within an Execute Callback.
Thanks so much!
I’d like to share my experience here to help other developers.
After the latest update on November 13th, I was able to handle the migration of custom codes without much trouble. However, I encountered significant issues with action blocks that invoked Database Refreshes through Execute Callback, as well as with queries using filters with multiple conditions—even in new projects.
With the most recent update on November 20th, I noticed that new projects were working smoothly. However, in projects migrated from V1 to V2, something very peculiar occurred. If I created new screens using the Refresh, Callback, and Filter procedures, everything worked fine. But the same wasn’t true for older screens.
This led me to suspect that some sort of system artifact or “black box” issue might have occurred during the migration process. So, I took the following steps:
Cleared my cookies.
Reinstalled FlutterFlow.
For screens that weren’t working, I deleted and recreated the component—for example, a DataTable.
And bingo—it started working!
Thanks so much for sharing!
Can we access your project?
Current Behavior
After the FlutterFlow update released on November 13, 2024, two critical functionalities stopped working as expected:
Execute Callback:
When using the "Execute Callback" action in a popup, the callback fails to execute, leaving the process incomplete. This is particularly problematic when updating a record via a popup, as the callback is essential to refresh the parent list and reflect changes in real-time. Refresh Database Request:
The "Refresh Database Request" action no longer updates the UI after data modifications (insert, update, or delete). The changes are only visible after manually reloading the page or component. Both of these issues worked perfectly before the update.
Additional Observation: These two issues appear to be interconnected, as they both involve failures in state synchronization and real-time UI updates. Errors in the browser console, such as Bad state: No element, [Violation] 'requestAnimationFrame' handler took ..., and [Violation] 'setTimeout' handler took ..., suggest problems with asynchronous state management or rendering introduced in the latest update.
Expected Behavior
The Execute Callback action should execute successfully and allow the parent list to refresh in real-time. The Refresh Database Request action should immediately update the UI after any database changes, without requiring a manual reload.
Steps to Reproduce
For Execute Callback:
For Refresh Database Request:
Expected Results:
In both cases, changes should reflect immediately in the UI.
Actual Results:
The Execute Callback action fails to execute, leaving the parent list unchanged. The Refresh Database Request action does not update the list until the page/component is manually reloaded.
Reproducible from Blank
Bug Report Code (Required)
IT40ifiCuLJ6m7hC+qiILfdFnj4hQTI2W5A3u9h7aCsofePrOpkAf8/7UFtUcN+gYGxHeGGGiXEX/MmOuN7hJ/YrPSeaGZR4z5Z2VQrJeFG6aZCbDoS3b39tGdhYJlTD0LbQ3xB5Ns9odFoS7WeQGe+tcD7AQpCyPXo/MeaoXdeK2SrDX1iXc2URm05KZDPz
Visual documentation
Environment
Additional Information
No response