Open MartinLockheart opened 3 weeks ago
Hi @MartinLockheart! We recently upgraded the dependencies, can you please verify if this guide helps you?
Sorry for any confusion, but I recreated this issue in a blank project and linked it above. I don't have any custom code in that blank project that could be causing dependency issues. Is there something I'm missing about how dependency upgrades work with native Flutterflow functionality?
Here's some new information after continuing to test in the blank project linked above:
1) In the component "myListItem", in the action parameter "updateParentData", the build error goes away when the parameter "updatedData" is set to "nullable". If it is not set to nullable, the build fails.
2) In this same project, there's an additional bug where attempting to pass list data into a sub-component parameter results in a "data (unknown)" bug. This can be seen in the projeect by doing the following:
A) Select "myListItem" in "myCustomComponent" B) Select the variable for the "myListItem" parameter "itemExistsInOtherLists" and attempt to pass "otherListOfCustomData" (either from the app state variable or the "myCustomComponent" parameter). Select "listContainsItem", and you will be unable to select the custom datatype in that the list is composed of. Instead, it says "Data (Unknown)".
Here's an additional screenshot for that bug:
Could it be linked to https://github.com/FlutterFlow/flutterflow-issues/issues/3111 ?
I don't know if that issue encompasses all of the ones displayed here, but that definitely seems related.
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
Can we access your project?
Current Behavior
Trying to pass documents/document references/custom data through callback parameters from within components often (if not always) results in build failures.
Issue reproduced in blank project: https://app.flutterflow.io/project/list-data-bug-component-eyxpqh?tab=widgetTree&component=myCustomComponent
Expected Behavior
I should be able to use documents/references/custom data types in my callback actions.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT5TjMrqx89god9Y0Lr9bfpsmj45JkQ5a40/lO1Edw0dDOvyO4YueM7BYXFJYcukTFVcIWKZ/Wcz+KHIueP9VuwrBxSWU4NeyapUewrKQXGQbq6qDaWWY0YmI51XI0CP56WGmA9QHMZsdE4ZwGCuH96tExfqQePpOTM0AMilIpv7+myULhDBUyZrxmNecCfn
Visual documentation
Screenshot of issue from blank project:
Screenshot of most recent issue from one of my other projects:
Environment
Additional Information
I've been dealing with this issue for almost a month now. I've talked with support about it twice, with no updates. I have multiple projects that have been delayed for weeks because of this, and I don't know what else to do at this point besides post the issue here.
I've managed to create workarounds for some of the issues this has caused, but not even being able to pass a document through a callback parameter is very frustrating - especially considering that recursive components were just released, while this issue has been active for nearly a month.