simphony-osp icon indicating copy to clipboard operation
simphony-osp copied to clipboard

File upload should raise an exception if the file does not exist on client side

Open pablo-de-andres opened this issue 4 years ago • 0 comments

In GitLab by @abahde on Jun 10, 2020, 13:53

When I do CUBA.FILE(path=<a path to a file that does not exist> and commit this CUDS object to the dataspace everything seems to be ok. However, in the background, the file is not copied (because it doesnt exist). That will confuse the user, especially when he tries to download the file from the server. We should raise an exception when the file does not exist.

pablo-de-andres avatar Jun 22 '20 14:06 pablo-de-andres