[
http://jira.dspace.org/jira/browse/DS-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim Shepherd resolved DS-691.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Committed to trunk, with just a minor change to maths (eg. 1024 * 1024 instead
of 1048576) just to make it a bit more readable
Not much documentation needed, I just think it might be wise to include it in a
"What's New" list for 1.7 so that repository managers are aware.
Thanks for spotting and contributing this useful fix, Hardy -- I've added your
name to the list of contributors on the DSpace wiki
> file size math in the mets:file template in General-Handler.xsl (XMLUI) is
> incorrect
> ------------------------------------------------------------------------------------
>
> Key: DS-691
> URL: http://jira.dspace.org/jira/browse/DS-691
> Project: DSpace 1.x
> Issue Type: Bug
> Components: XMLUI
> Affects Versions: 1.6.2
> Environment: all environments
> Reporter: Hardy Pottinger
> Assignee: Kim Shepherd
> Priority: Minor
> Fix For: 1.7.0
>
> Attachments: corrected_file_size_math.patch
>
> Original Estimate: 1 minute
> Remaining Estimate: 1 minute
>
> This is a little nit-picky, but every time I open up the General-Handler.xsl,
> to look for code to copy/paste to my theme, the math error has bugged me, so,
> here's a patch to fix it. There are 1024 bytes in a KB, 1048576 bytes in a
> MB, and 1073741824 bytes in a GB. The current "metric" numbers are incorrect,
> and inflate the file sizes displayed by the XMLUI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel