nocodb icon indicating copy to clipboard operation
nocodb copied to clipboard

🐛 Bug: Upload file via forms doesn't work properly

Open dawidszpilewski opened this issue 1 year ago • 12 comments

Please confirm if bug report does NOT exists already ?

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

Steps to reproduce ?

Upload file via FORM and see json details of attached files. Below I show example of JSON detail for .pdf ploaded via regular grid vs form.

Desired Behavior

Should wor as in previous relases.

Project Details

Node: v16.19.1 Arch: x64 Platform: linux Docker: true RootDB: pg PackageVersion: 0.108.1

Attachments

2023-06-13_22h30_25

dawidszpilewski avatar Jun 13 '23 20:06 dawidszpilewski

@dawidszpilewski couldn't reproduce issue locally. could you try again on latest release? please try using same file for both kind of uploads to rule out comparison difference between two scenarios. you can ping DM me on discord if you can reproduce (discord: dstala)

dstala avatar Jun 14 '23 06:06 dstala

I am on the latest version now:

Node: v16.20.0 Arch: x64 Platform: linux Docker: true RootDB: pg PackageVersion: 0.109.2

I attach movie shoowing this bug.

https://github.com/nocodb/nocodb/assets/52066687/ba61a690-9866-42d4-bd78-8f1218f5723c

dawidszpilewski avatar Jun 27 '23 20:06 dawidszpilewski

Is this bug confirmed ot more clarification needed? Or maybe this is only problem in my NocoDB?

dawidszpilewski avatar Jul 19 '23 13:07 dawidszpilewski

I'm on 0.109.4 and couldn't reproduce the issue. Can you try creating a new table and a new view to see if the issue still exists?

wingkwong avatar Jul 23 '23 06:07 wingkwong

Thank you, before test I have updated to 0.109.4. Creating new table works with attachments. I have also duplicated existing Table for tests, that one didn't work. Moreover my most important "old" Table has crashed. I have done some tests and now cannot delete rows and do anything. Have there 130 records with attachments. I don't know if it is fixable - let me know. If not I need to start from scratch which is hours od work. Not sure then if NocoDB is not too risky for production purposes. Please let me know if I can do anything. I attach movie to show what is going on now

https://github.com/nocodb/nocodb/assets/52066687/757d02bd-f920-4734-a6a0-6d599442ad0e

dawidszpilewski avatar Jul 24 '23 14:07 dawidszpilewski

Little update - I have Duplicated again and on Duplicated table I can work as previously. Attachments from Share View still don't work on Duplicated table. They work on new table that has been done from scratch. Is there any idea to fix it on existing table?

dawidszpilewski avatar Jul 24 '23 14:07 dawidszpilewski

@dawidszpilewski sorry for following up on this late. can you check if your issue still persists with our latest release v0.202.5

You can also reach to us @ community.nocodb.com

dstala avatar Nov 01 '23 16:11 dstala

Raju, thank you for message. Unfortunately it still doesn't work. I have created new Database and still have to add attachments via Grid. Please see below how the information about attachement differ beatween file uploaded via Form (described as Test) and via Grid (both below Test)

image

For "Test "also icon of document doesn;t show it is pdf file.

I work on this database almost every day hoping that will be fixed some time. But I have no Idea why in my instace is such problem, I have check on Cloud version of nocoDB and it works properly. I need to add that couple of versions before it worked properly, but don't remember which was it.

Regards Dawid

dawidszpilewski avatar Nov 02 '23 10:11 dawidszpilewski

I have one old Project on nocoDB version 0.107.5. I've just have done test and attachments work as they should via Form.

dawidszpilewski avatar Nov 03 '23 00:11 dawidszpilewski

Fix https://github.com/nocodb/nocodb/pull/7177 should sort this out. if issue still persists in 0.204.0, please reopen this thread

dstala avatar Jan 17 '24 07:01 dstala

I have upgraded to version 0.204.0 and still doesn't work. I have 2 different dockers connected to externas postgresql, as I told before on version 0.107.5 worked perfectly. Unfortunately I have also upgraded that one, so now it doesn't work on both. Below I show difference in paths for pdf files uploaded via Form and via Grid.

image

dawidszpilewski avatar Jan 19 '24 18:01 dawidszpilewski

And I don't see option to Re-open

dawidszpilewski avatar Jan 19 '24 18:01 dawidszpilewski

@mertmit this issue might need some manual intervention. please check

dstala avatar Jul 27 '24 03:07 dstala