Documet view with no content to display from the text crashes page #194

Closed
opened 2026-02-23 17:20:43 -05:00 by yindo · 1 comment
Owner

Originally created by @carrigan223 on GitHub (Oct 9, 2023).

When viewing a document after upload if it was uploaded with no text crashes the page. I uploaded a document without a text field in the metadata, in the next frontend component of the table view when looking at the document the page flashes and crashes. the console error is that .length is trying to be called against null. My suspicion is that the content preview pill is checking length regardless of whether the property is present when trying to display the row component in the document view.

Originally created by @carrigan223 on GitHub (Oct 9, 2023). When viewing a document after upload if it was uploaded with no text crashes the page. I uploaded a document without a text field in the metadata, in the next frontend component of the table view when looking at the document the page flashes and crashes. the console error is that .length is trying to be called against null. My suspicion is that the content preview pill is checking length regardless of whether the property is present when trying to display the row component in the document view.
yindo closed this issue 2026-02-23 17:20:43 -05:00
Author
Owner

@timothycarambat commented on GitHub (Oct 9, 2023):

Related to the migration of the WASM import improvement to the lighter-weight Text encoder. Resolved by 5f0e392afb

@timothycarambat commented on GitHub (Oct 9, 2023): Related to the migration of the WASM import improvement to the lighter-weight Text encoder. Resolved by 5f0e392afb80b47e904371cc025ca21a9b9cba84
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/vector-admin#194