FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 23 forks source link

Actions without content cause publish issues, but do not flag as errors. #3697

Closed bsturdy closed 1 month ago

bsturdy commented 2 months ago

Can we access your project?

Current Behavior

When you define an action in flutterflow (for example, an on tap action), if you do not add anything to this action but keep it alive and empty, your publishing will fail with a message 'Unsupported operation: Attempted to change a read-only message (flutterflow.FFActionNode)'. However, this is not picked up as a warning or error inside of flutterflow, which could make debugging difficult on larger projects.

Expected Behavior

An error or warning should appear when you leave an action empty but alive.

Steps to Reproduce

  1. Add an action
  2. Do not add content to the action, just leave it empty
  3. Try to publish your project (i tested with IOS)

Reproducible from Blank

Bug Report Code (Required)

ITFfiPHq2It1xOVY0L6Ja8dsqCAUJmkcTL4zlO1HcxAYGO/yPbJ/PuD4VBRBTtejTXlhHE6Lgk4d0N7ljdnxM+wqFxeafKZA/qpccQ6UUXq8R4iPCquKZ3JSHftRCXasyru7kwl/Jspoci0h7GCXfui9aCvfJ5+/Zwh9f6PHaOI=

Visual documentation

image

Environment

- FlutterFlow version: 4.1.84
- Platform: Chrome development, IOS publishing
- Browser name and version: Chrome
- Operating system and version affected: Win 10

Additional Information

No response

Alezanello commented 2 months ago

Hi there!

I wasn’t able to replicate this issue. I created a container, added both On Tap and On Double Tap action flows without any actions inside, and deployed it successfully to both the web and an iOS simulator without encountering any problems.

(Tested on Web and MacOs App)

ableToDeploy.gif Imagen de WhatsApp 2024-08-28 a las 08.17.24_fa7cce4a.jpg
bsturdy commented 2 months ago

Hi,

Try it on mobile deployment rather than web deployment. You should encounter a code magic compile error.

On Wed, 28 Aug 2024 at 12:19, Alezanello @.***> wrote:

Hi there!

I wasn’t able to replicate this issue. I created a container, added both On Tap and On Double Tap action flows without any actions inside, and deployed it successfully to both the web and an iOS simulator without encountering any problems.

(Tested on Web and MacOs App)

[image: ableToDeploy.gif] https://camo.githubusercontent.com/3d20bfa22738f3d0f79f897cec89dfe9d79ab4458f8c186355a631bf9144f550/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f33323431303839642d373336612d343432322d393030622d3035316537326163636462652f65303066353261372d323265362d343961622d616562342d6262316139383466323337332f37396535336135372d306265382d343934382d623062342d3363313732353865643864363f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a4d794e4445774f446c6b4c54637a4e6d45744e4451794d6930354d4442694c5441314d5755334d6d466a593252695a53396c4d44426d4e544a684e7930794d6d55324c54513559574974595756694e433169596a46684f5467305a6a497a4e7a4d764e7a6c6c4e544e684e5463744d474a6c4f4330304f5451344c574977596a51744d324d784e7a49314f47566b4f4751324969776961574630496a6f784e7a49304f44517a4f54497a4c434a6c654841694f6a4d7a4d6a6b314e44417a4f54497a66512e3656667937444a5f6d78417446362d596e647a696a70343864536f4f6b71614469417355567731686e414520

[image: Imagen de WhatsApp 2024-08-28 a las 08.17.24_fa7cce4a.jpg] https://camo.githubusercontent.com/162d53d5c5c881b95435f2f8b100aaa1062c95254b87cd50d48814528f11c4e0/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f33323431303839642d373336612d343432322d393030622d3035316537326163636462652f37366232626430382d663465652d346266632d383639342d3337353637356466306262642f31653530393336662d353339372d346134622d613533642d6663383131646434626464393f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a4d794e4445774f446c6b4c54637a4e6d45744e4451794d6930354d4442694c5441314d5755334d6d466a593252695a5338334e6d4979596d51774f43316d4e47566c4c5452695a6d4d744f4459354e43307a4e7a55324e7a566b5a6a4269596d51764d5755314d446b7a4e6d59744e544d354e793030595452694c5745314d3251745a6d4d344d54466b5a4452695a4751354969776961574630496a6f784e7a49304f44517a4f54497a4c434a6c654841694f6a4d7a4d6a6b314e44417a4f54497a66512e5776454b784b6137664c4538506165625764615677717043454c304646437251537a446c4b52393057654920

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3697#issuecomment-2315037010, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6ACDTYLREQJAZKUNRPWLEDZTWW2VAVCNFSM6AAAAABNG2KXFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGAZTOMBRGA . You are receiving this because you authored the thread.Message ID: @.***>

Alezanello commented 2 months ago

It also compiled successfully to the iOS Simulator, following the same procedure as mobile deployment.

bsturdy commented 2 months ago

Interesting, I will test this again later on my system and let you know.

On Wed, 28 Aug 2024 at 12:28, Alezanello @.***> wrote:

It also compiled successfully to the iOS Simulator, following the same procedure as mobile deployment.

— Reply to this email directly, view it on GitHub https://github.com/FlutterFlow/flutterflow-issues/issues/3697#issuecomment-2315057604, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6ACDTZG2JTVWMV5FCPU7XDZTWX5FAVCNFSM6AAAAABNG2KXFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGA2TONRQGQ . You are receiving this because you authored the thread.Message ID: @.***>

Alezanello commented 1 month ago

Closing this issue since we haven't heard back from you. If you are still facing the problem please submit a new issue. Have a great day!