Closed ryutosh closed 1 month ago
Hi there!
I couldn’t replicate the issue in a new blank project. Here’s what I did:
StringValue
IntegerValue
DoubleValue
BoolValue
AppState1.StringValue == AppState2.StringValue
You can view the public project here: Public Project.
If you’re still experiencing issues, please let me know, and we can investigate further!
Thanks @Alezanello for your response.
Created a button with a conditional action that: Checks if AppState1.StringValue == AppState2.StringValue
Please read Current Behavior section and you will see I am not comparing field of data type, but data type instance itself.
Hey!!
Could you record a quick video no more than 1 minute to show all the process you do to get to that point? in order to replicate correctly and see what you are experiencing
Could you record a quick video no more than 1 minute to show all the process you do to get to that point? in order to replicate correctly and see what you are experiencing
Or, may I add one more action to describe onto your Public Project. ? That's more easy for me.
Hello Ryutosh! sorry for the late response on this issue.
Feel free to add or modify the Public Project to show me the way!
Thanks @Alezanello . However I edited your project, there was message that I don't have write access. So could you watch attached video?
https://github.com/user-attachments/assets/87240f5d-1bc1-4fc3-ac12-eea4c5e6bc5c
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.
Hello!
I apologize for the late response.
I watched your video, and it seems like you're trying to validate the entire DataStruct against another DataStruct, rather than comparing the individual items within the structure.
For example:
[{"a:1", "b:2", "c:3"}]
[{"a:4", "b:5", "c:6"}]
In the project I created, I was comparing the individual fields, like DataA.a == DataB.a
, DataA.b == DataB.b
, and DataA.c == DataB.c
. However, in your video, it looks like you're validating the entire structure (DataA == DataB
).
I'll check with the engineering team to see if this behavior is a bug or a feature request. It could be that this functionality was never implemented or it's the expected behavior due to the code generation process.
Thank you for your patience!
Can we access your project?
Current Behavior
Not able to use "Equal To" or "Not Equal To" condition for same datatypes, with warning "Current variable is not valid".
Bellow shanpshot shows result of trying comparison for two same data type(TranslatedFieldType)s.
These two are stored in local states. You can see these in Model view.
Even comparing same instance also fails.
The failure of comparison also occured for one in local state and another in Firestore Document.
Expected Behavior
Can compare equality.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITEehfKB35ZJpbwG1c7qcsJWiQMxQUB+bZ0vlO1FGEkYF5DpEZYue8nUaXdeTMeWSgl2DGKloEcCwMmNkfP9KfUoAzOtG5t607hpWAnzQj2hb8mvCpGKYXJAJ9NMJlC036uNuxV5HPRvWloF3GGLcq3qNleeY8aSfxBlZ7vfcPo=
Visual documentation
As in current behavior section.
Environment
Additional Information
I see there is operator method in FF generated codes.