SwellRT / swellrt

SwellRT main project. Server, JavaScript and Java clients
http://swellrt.org/
Apache License 2.0
234 stars 34 forks source link

After File.clearValue(), the getUrl method returns old url #129

Open atfornes opened 8 years ago

atfornes commented 8 years ago

after calling clearValue() method in a File/attachement object, the method getUrl stills return the old URL. An undefined value is expected instead.

llopv commented 8 years ago

In teem I do this to erase a file:

$scope.project.image = new swellRT.FileObject(undefined);

And it throws the following error:

captura de pantalla de 2016-06-14 12-59-46