Import DLOF export
The import of a DLOF export fails. I used the DLOF export that you can find in attachment.
Updated by Sven Vanpoucke over 10 years ago
- Status changed from New to Needs testing
- Target version set to 2
- % Done changed from 0 to 100
It seems like there were no included objects yet, but this is a bug that has only been fixed yesterday. Since it is a full repository i just removed a minor check that wasn't important anyway and now you still can restore your data (but without "includes", so you are able to delete your objects that are included in other objects)
Updated by Yannick Warnier over 10 years ago
By getting the post_max_size from the PHP config (ini_get()) and putting it dynamically into the <form> with <INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="taille">, you get a browser-side check of the size of the file, which means that the user can be informed, at the time of pressing the "submit" button, that his file is too big and, as such, cannot be received by the server.This does not work in all browsers (I think), but it has a few important advantages:
- it does not load the server without reason
- the user is informed before using his bandwidth to send the file
- even if it doesn't work in one specific browser, you can always make sure it's alright at the server level
- you can make this size dynamically depend on the PHP setting
We have implemented that in a few places (not all) in 1.8, and I think it would make sense to implement it at the quickform level in 2.0.