mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-03-02 16:45:52 +01:00
* Debug savedemo * Fix mention * FIX upload of files with multiple spaces via drag'n'drop flow Currently there are two ways to upload files to products, orders, etc. via the "old" way and the document tab and the "new" flow via drag'n'drop on the main tab of the object. Both ways triggering completely different code paths. In the end the new way uses dol_sanitzieFileName to sanitize the name of the file and the old way uses dol_string_nohtmltag (both from functions.lib.php). One of the main difference between the two mentioned functions is that in the old way multiple spaces behind each other are replaced by a single space. E.g. "A␠␠B␠␠␠C␠␠D" is tranformed to "A␠B␠C␠D". This is needed to make sure that the files are properly uploaded and can be later also downloaded correctly. How to reproduce? Upload a file like "test␠␠test.txt" via the drag'n'drop flow and try to download it from the document tab. This is not working. You can see the file but cannot download it. The same flow via the input field of the document tab is working correctly. * typo in comment * FIX Phan warnings (unrelated to feature) * FIX Phan warnings (unrelated to feature) * FIX Phan warnings (unrelated to feature) --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
TAKEPOS
Features
Add a Touch Screen POS (Point Of Sale) to your ERP.