Skip to content
Snippets Groups Projects
Commit f73b3049 authored by uhensler's avatar uhensler
Browse files

OO-2723: Some videos where not played

parent b9c71517
No related branches found
No related tags found
No related merge requests found
......@@ -501,9 +501,8 @@ public class FeedFileStorge {
if (media != null) {
VFSContainer itemMediaContainer = getOrCreateItemMediaContainer(item);
if (itemMediaContainer != null) {
VFSItem movedItem = media.moveUploadFileTo(itemMediaContainer);
saveFileName = Formatter.makeStringFilesystemSave(media.getUploadFileName());
movedItem.rename(saveFileName);
media.moveUploadFileTo(itemMediaContainer);
saveFileName = media.getUploadFileName();
}
}
......
......@@ -278,8 +278,7 @@ public abstract class ItemFormController extends FormBasicController {
}
}
return allOk ;
// return allOk & super.validateFormLogic(ureq);
return allOk & super.validateFormLogic(ureq);
}
private boolean validateFilename(String filename) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment