nocodb icon indicating copy to clipboard operation
nocodb copied to clipboard

🐛 Bug: file attachment didnt attached while sending it with a form

Open Valeronich opened this issue 1 year ago • 4 comments

Please confirm if bug report does NOT exists already ?

  • [x] I confirm there is no existing issue for this

Steps to reproduce ?

  1. Create table with "attachment" field
  2. Create form with "attachment" field
  3. Try to fill form and upload any file in that field
  4. Check uploaded file in previously created table

Desired Behavior

Files are successfully uploaded to the nocodb when it uploads with Forms

Project Details

self-hosting: true Platform: Linux Ubuntu Arch: x64 Docker: true RootDB: pg PackageVersion: 0.204.0

Attachments

No response

Valeronich avatar Jan 27 '24 00:01 Valeronich

tried uploading a pdf file from a form view in pg/0.204.0/docker, worked fine. @Valeronich

  • which browser are you using? if its not chrome, can you try it out in chrome once?
  • what was the file type that you were attaching?
  • what was the file size?
  • did you notice any error on the UI or on the console?
  • do you see rest of the fields in the form submitted to the grid & only attachment missing?

dstala avatar Jan 27 '24 03:01 dstala

  1. Browser: Arc (Chromium)
  2. File type: jpeg\png
  3. Less than 5 mb
  4. Didnt notice any errors. Even in log files
  5. Yes, other fields are successfully submitted and loaded properly

Valeronich avatar Jan 27 '24 13:01 Valeronich

There must be a difference between uploading attachments via grid and VIA form. I have desceibed it in #5886. Unfortunately that Idzie has been closed but not resolved. I kindly ask to re-open #5886 because I don't see that option.

dawidszpilewski avatar Jan 28 '24 21:01 dawidszpilewski

@dawidszpilewski @Valeronich I tried it on Arc browser today & was able to upload attachments from shared form view.

Arc browser version - Version 1.29.0 (46113) Tried both drag drop & click upload method for attaching a file; file type uploaded .png & .jpeg

upgrade your Arc browser if you haven't and give it another try. I tried this on mac; let me know if you are on a different OS? Root DB in my case was PG

If you can upload a video of this behaviour (if still reproducable), it would help

dstala avatar Feb 09 '24 09:02 dstala

if issue still persists, reopen this thread

dstala avatar Mar 02 '24 00:03 dstala