Skip to content

Supabase time type columns crash app after schema refresh — even when component parameter cast to String #7202

@juandmalekc-design

Description

@juandmalekc-design

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

All ListViews querying Supabase views crash with "Unexpected null value. The relevant error-causing widget was: Builder" originating from storage.dart. This happens specifically when a component receives Postgres time type columns (pickup_start_time, pickup_end_time) as parameters from a Supabase view.

Expected Behavior

Postgres time type columns from Supabase views should be handled correctly by FlutterFlow without crashing, the same way they worked before a schema refresh was performed.

Steps to Reproduce

  1. Create a Supabase view that includes columns of Postgres type time (e.g. pickup_start_time, pickup_end_time)
  2. Connect FlutterFlow to Supabase and import the schema
  3. Create a component with parameters that receive these time type columns
  4. Use this component inside a ListView querying the view
  5. Perform a schema refresh in FlutterFlow
  6. App crashes with "Unexpected null value"

Reproducible from Blank

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

Bug Report Code (Required)

IT4giMrl/YlPvt9c187pYe9V+GIROUA5U5c0sd4bGA0dCJzuPLMQdvXsYkxVXd/mYAk/JkSmmkwx+an5jvPXFfU5GAWbbJQ/1rlqcBWWeGG6QZOBCqisQEdtP8RnJ3aHy5+3vSR7LttoL3w96k+ABeqXHzDvHrrHIndISq/LZO4=

Visual documentation

Image

Environment

- FlutterFlow version: 3.38.5
- Platform: Web
- Browser name and version: Google Chrome 148.0.7778.216
- Operating system and version affected: macOS Sequoia Version 15.7.4

Additional Information

This is blocking a pre-launch app. The issue started immediately after performing a schema refresh in FlutterFlow. The app worked correctly before the refresh with no code changes on our end. We have verified via Supabase REST API (Postman) that the view returns correct, complete data. Permission to access project: Yes — please use the PIKOP NO NOTIF or pikop test 1 project.

Metadata

Metadata

Assignees

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions