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
33.77k stars 3.63k forks source link

[Bug]: file base64 data updating to {} after multiple files are selected and removed any one file from Filepicker #29605

Open vishalbende opened 9 months ago

vishalbende commented 9 months ago

Is there an existing issue for this?

Description

when I select multiple files in filepicker and remove one file and try to access filepicker.files[0].data then data is {}

Steps To Reproduce

  1. add filepicker with more than one file
  2. select multiple files
  3. remove one file
  4. try to access filepicker.files
  5. data is blank inside array of files

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

v1.9.55-SNAPSHOT

vishalbende commented 9 months ago

@Nikhil-Nandagopal is there any workaround you can suggest ?

Nikhil-Nandagopal commented 9 months ago

@vishalbende I'm not able to reproduce this. Can you create a public app showing this behavior?

vishalbende commented 9 months ago

Checkout data inside objects should be base64 string .. happening after removing one selected file

Screenshot 2023-12-14 at 11 56 21 PM
vishalbende commented 9 months ago

Here is the public application link https://app.appsmith.com/app/filepicker-issue/page1-657b49c49e573524db05cb35

vishalbende commented 9 months ago

@Nikhil-Nandagopal How to replicate ? checkout base64 data in background

CPT2312150010-800x440 (1)

Nikhil-Nandagopal commented 9 months ago

@vishalbende thanks I'm able to reproduce it now. Unfortunately I don't have a workaround that I can suggest here.