Skip to content

Component action changes do not persist; stale item_id breaks web compilation #7408

Description

@rigorcka-cyber

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Project: garage-urbano-28ga8c

Current behavior:
The CheckItem component contains a Checkbox -> Update Document action with an inline reference that generates code using item_id. The web build fails with: Undefined name 'item_id' in lib/components/check_item/check_item_widget.dart around line 150.

Steps attempted:

  1. Delete the invalid Update Document action in the FlutterFlow editor.
  2. FlutterFlow shows Saved and the analyzer shows 0 errors.
  3. Reload the project. The same action is restored and the build fails again with the same item_id error.
  4. Disabling the action is also reverted after reload.

Expected behavior:
Component action changes should persist after saving and reload, and the generated widget should not contain an undefined item_id reference.

Expected Behavior

After saving the component action change, it should remain saved after a project reload. The generated CheckItem widget must compile without any undefined item_id reference.

Steps to Reproduce

  1. Open project garage-urbano-28ga8c.
  2. Open component CheckItem and select its Checkbox action.
  3. Delete or disable the Update Document action that uses the inline reference with item_id.
  4. Wait until FlutterFlow reports Saved and analyzer reports 0 errors.
  5. Reload the project.
  6. The Update Document action is restored and a web build fails with Undefined name item_id in check_item_widget.dart.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT40kfLqw5d2xNhE0KXycPpV+SY5JUN7U+c41tZRaC8ofePqPZl/evfBMxJZZ7ykSn03PGH8mmcI7tGMktzIN8AoCzusRpx+z6lUUz3yZzqnVpeYEpaCYnxDONpKCXKn4LTYsRNTPup2LUY12ly6LuyRXgLtQ4TqDTAzHcqiCKzUo3PuQ0SLb3kNh1JWeC/vVisual evidence: FlutterFlow web build screen reports Build Failed. The compiler points to lib/components/check_item/check_item_widget.dart around line 150 and states: Undefined name item_id.

Visual documentation

Visual evidence: FlutterFlow web build screen reports Build Failed. Compiler points to lib/components/check_item/check_item_widget.dart around line 150 with Undefined name item_id.

Environment

- FlutterFlow version: current web editor
- Platform: Web
- Browser: Chrome / Codex in-app browser
- Project: garage-urbano-28ga8c
- Build target: Web test mode- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: can't reproduceFollowing the reported steps did not reproduce the bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions