Skip to content

Algolia search return null subtype #1827

@Ortes

Description

@Ortes

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • 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

I have documents indexed in algolia with nested DataType. When I make a request with FF algoliasearch the nested DataType are null. ExerciseRecord is my document type and FieldData is my subtype (DataType).

I dug a little bit into the code a posted here what I have found.

Expected Behavior

The subtype not to be null.

Steps to Reproduce

Create a algolia indexed firebase collection with a subtype (DataType).
Create a textfield that makes a algolia search on submit on that collection.
Check the return of the fromAlgolia function.

Reproducible from Blank

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

Bug Report Code (Required)

IT48ks/l8YxPseUF18/Ub+9VgjgWHF87auYRkOtDbxQ8J5DLBIYuP//7ak5uTde0TGxEI1mJ/T0x0PvemvztCPFdaE+YRaVz1LtQdgnwQlmmVLqVPri8SW5/DeljCUyy56u7ryR5AMltdEIk61y2PN6vcA7qN77SPjJFRfiiOZOK2SrDX1iXc2URm05KZDPz

Context

I want to make a search bar on a collection.
I can not make display the data from my search bar (from that subtype FieldData at least).

Visual documentation

2023-11-10-190216_1187x598_scrot
2023-11-10-190443_1176x215_scrot

Additional Info

No response

Environment

FlutterFlow v4.0 released November 10, 2023
Flutter version is 3.13.7
- Platform: web
- Browser name and version: Google Chrome Version 118.0.5993.88 (Official Build) (64-bit)
- Operating system and version affected: Web

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions