Attachments File Size [Fixed] - Postet den (3590 Views)
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
Chrome 71 64bit
Windows 10 Pro latest build

Summary
I don't get the file size showing on attachments.
Steps to reproduce error
See post on my forum

http://midland.philsbbs.com/Topic/Posts/8957?pagenum=1&archived=0
Results
Expected result
---------------

Attached to show file size next to file name

Actual result
---------------

see : http://midland.philsbbs.com/Topic/Posts/8957?pagenum=1&archived=0


Notes/Attachments
http://midland.philsbbs.com/Topic/Posts/8957?pagenum=1&archived=0

Example
Phil
 Sortering, for datoer betyr DESC nyeste først  
 Sidestørrelse 
Postet den
Forum Administrator
HuwR
Innlegg: 4536
starstarstarstarstar
looks to be related to the file type, works ok on a csv/zip file will do some tests find out why
Postet den
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
ok mate.
Phil
Postet den
Forum Administrator
HuwR
Innlegg: 4536
starstarstarstarstar
actually, it works for me, maybe browser related, are you using chrome ?
Postet den
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
yep chrome v71
Phil
Postet den
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
http://www.reddick.co.uk/Mvc/Topic/Posts/4923?pagenum=-1#16287


displays file size ok and thats in chrome v71
Phil
Postet den
Forum Administrator
HuwR
Innlegg: 4536
starstarstarstarstar
Ok, it works fine for me in Chrome on your site too


So, a question, are you expecting it to display the size of a previously uploaded file? It will not do this, it only knows the size during the upload so the size is added to the tag when you upload the file it can not be done retrospectively with an older file tag
Postet den
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
I know it not get the size for the old uploads and only gets the size when a new attachment is uploaded but

Testing further on my site and its seems to depend on the file extensions... Example below.

export_en.csv 92 KB

dbsnvarchar-fix.xml

MemberFields_1.0.zip

.xml and .zip did not get the file size when I added the attachments on my site. as you can see the csv worked ok.
Phil
Postet den
Forum Administrator
HuwR
Innlegg: 4536
starstarstarstarstar
must be you then smile as you can see from my screenshot zip/xml/xlsx all worked (that was on your site using chrome)
Postet den
Forum Administrator
philsbbs
Innlegg: 2269
starstarstarstarstar
http://midland.philsbbs.com/Topic/Posts/8960?pagenum=-1

still have the issue @huwr
Phil
Postet den
Forum Administrator
HuwR
Innlegg: 4536
starstarstarstarstar
I can't replicate the issue, it works fine for me tried in IE, Edge, FF and Chrome
Uploading a file results in this tag
Du må legge inn en melding