-
Notifications
You must be signed in to change notification settings - Fork 536
Description
Describe the bug
//A clear and concise description of what the bug is.
IF a firestore document contains an array of firestore document refernence sub fields within that array
THEN the Rowy UI drawer crashes / refuses to load / display any data for tha particular document / Row of the Table.
To Reproduce
Steps to reproduce the behavior:
- Create 2 firestore collections (colA & colB)
- Create one new firestore document in collection A (doc1A) and 2 new documents in Collection B (doc2B & doc3B - use AutoID)
- In doc1A (within collection A) add a new field (Type: Array / FieldName: ListOfDocReferences)
- add 2 or more fields to the array:
- sub-Field1 (Type: (document) Reference // Value: PathToDoc2B) -- e.g. "/collection_b/doc2B_idAABBCCDDEEFFGG"
- sub-Field2 (Type: (document) Reference // Value: PathToDoc2C) -- e.g. "/collection_b/doc2C_idHHGGIIKKLLMMNNOO"
- Add new table to Rowy (Type: Primary Collection // Link: CollectionA)
- Import all fields (ListOfDocReferences will default to Type: Json)
- Click on the row for doc1A in new Rowy Table
- See error message
Expected behavior
Rowy UI Drawer will appear showing expanded view of details for that row / firestore document
BUT --> Error, no data / drawer UI loads for doc1A
NOTE --> This seems to e the same error that previously was reported and fixed, which was focused on a single Document Reference field in a document, but produced the same Drawer UI crash in Rowy.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] - ChromeOS
- Browser [e.g. chrome, safari] - Chrome
- Version [e.g. 22] - Version 94.0.4606.97 (Official Build) beta (64-bit)
Additional context
Add any other context about the problem here.
NOTE --> This seems to e the same error that previously was reported and fixed, which was focused on a single Document Reference field in a document, but produced the same Drawer UI crash in Rowy.