Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21022

Metaobj is not using user preferred locale when formatting number at NumberElementType

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0
    • Labels:
      None
    • CLE Team Issue:
      Yes

      Description

      Metaobj is not using user preferred locale when formatting number at NumberElementType

      public NumberElementType(String typeName, Element schemaElement, SchemaNode parentNode, Namespace xsdNamespace) {
      super(typeName, schemaElement, parentNode, xsdNamespace);

      format = NumberFormat.getIntegerInstance();
      .....

      It should be
      format = NumberFormat.getIntegerInstance(new ResourceLoader().getLocale());

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                farreri Miguel Pellicer
                Reporter:
                darolmar@abierta.upv.es David Roldán Martínez
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration