diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 95f0ed633..f4ea11c9d 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -78,6 +78,7 @@ - fix bugs with the in-memory session caching of user and group memberships 6.8.8 + - fix [ 1452466 ] File size not set in File asset (Thanks to Eric S) - fix [ 1460992 ] Field Loop in DataForm (Thanks to Beat Boesiger) - fix [ 1423434 ] 6.8.5 - Versioning - users can see uncommitted data - fix [ 1437186 ] 6.8.7 deploy DataForm package does not copy fields diff --git a/lib/WebGUI/Asset/File.pm b/lib/WebGUI/Asset/File.pm index b97b52c01..082f1e8af 100644 --- a/lib/WebGUI/Asset/File.pm +++ b/lib/WebGUI/Asset/File.pm @@ -241,6 +241,7 @@ sub processPropertiesFromFormPost { $data{menuTitle} = $filename unless ($self->session->form->process("menuTitle")); $data{url} = $self->getParent->get('url').'/'.$filename unless ($self->session->form->process("url")); $self->update(\%data); + $self->setSize($storage->getFileSize($filename)); } }