MCRMetaNumber depends on Locale of runtime environment being "de"

Description

Current code only work if Locale is "de"
internal representation should be independent of locale of the running system
code now:

should be like this:

as the result of getNumberAsString() is used for internal XML representation of the number. This format should be independent of the runtime environment so that data can be handled in different environments.

Environment

None

Activity

Jens Kupferschmidt 
May 26, 2016 at 1:55 PM

fixed

Jens Kupferschmidt 
May 26, 2016 at 12:50 PM

Now we use internal and for the output of getNumberAsString the ENGLISH Locale. The transformation to the local presentation should run in the presentation layer of the application. So the length of the dimension and measurement attributes are defined in new properties and checked on input side of the class.

Thomas Scheffler 
April 12, 2016 at 8:32 AM

JUnit test fails on English environment: org.mycore.datamodel.metadata.MCRMetaNumberTest.numberTransformation()

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 12, 2016 at 8:26 AM
Updated May 26, 2016 at 1:55 PM
Resolved May 26, 2016 at 1:55 PM