[SOLVED] - BUG - Validation Error on updating Document

More
16 Apr 2014 09:07 - 17 Apr 2014 14:45 #3124 by cpvt
Hi all in ver. 4.5 I'have a document with an internal file (I uploaded it). When I modify the field Notes in editview and I try to save the page rise an error sayng "Il file selezionato non ha dati o non รจ un file valido" beside the "save" button. But the file is already uploaded and linked to Document: I see the filename under the select file field.

thank you

cp
Attachments:
Last edit: 17 Apr 2014 14:45 by cpvt.

Please Log in to join the conversation.

More
17 Apr 2014 14:51 #3125 by cpvt
SOLUTION:

In modules/Documents/Documents.php you have to move lines 192 to 196 before line 191. Becouse if the field for file upload is empty the system variable $_FILES is still setted but with non name and file size.

cp
The following user(s) said Thank You: dende

Please Log in to join the conversation.

More
23 May 2014 09:45 #3143 by dende
Thank you !

I've reported this thread to our technical dept.

Bye

Please Log in to join the conversation.

Time to create page: 0.074 seconds