appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.71k stars 3.75k forks source link

[Bug]: CSV File Uploaded Via FilePicker Widget Not Displayed in Table Widget on Firefox #29294

Open ame-appsmith opened 11 months ago

ame-appsmith commented 11 months ago

Is there an existing issue for this?

Description

If uploading a file via the FilePicker widget with Data Format as Array of Objects and binding it to a Table widget, the data gets displayed correctly on Chrome or Edge, but no data is loaded into the Table on Firefox.

Front thread

Steps To Reproduce

  1. Open this app in the Firefox browser.
  2. Click Select files and choose a .csv file to upload via the FilePicker.
  3. Click Upload and note that no data is displayed in the table.

Try the exact same steps in Chrome and note that the data from the CSV file is displayed in the table.

Public Sample App

https://app.appsmith.com/app/firefox-csv-filepicker-upload/page1-656df3af142eb61772978528

Environment

Production

Issue video log

No response

Version

v1.9.50

Nikhil-Nandagopal commented 11 months ago

Works for me in the latest firefox version Screenshot 2023-12-11 at 12 11 19 PM

ame-appsmith commented 11 months ago

It still does not work for me on Appsmith cloud.

image

The data property of the file is empty. Here are some sample files I tried. test2-utf8.csv test-utf8.csv

Nikhil-Nandagopal commented 11 months ago

@ame-appsmith that may not render in a text widget. Please try in a table widget and share the public app with me

ame-appsmith commented 11 months ago

I tried to render it in a table widget. I only used the text widget to view the properties for debugging purposes. This is the public forkable app. I am facing this only in Firefox. In Chrome, the same app works as expected. I am on Windows, if that matters.

Nikhil-Nandagopal commented 11 months ago

Must be a windows specific problem

ame-appsmith commented 11 months ago

The user who initially reported this just confirmed that they are using Windows.