Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-297

Test: testGetLanguage(org.odftoolkit.simple.meta.OfficeMetaTest) failed when the platform language is not 'Chinese'.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • simple-0.3, simple-0.3.5, simple-0.4, simple-0.4.5, simple-0.5, simple-0.5.5, simple-0.6, simple-0.6.5
    • simple api
    • None

    Description

      When running mvn install from /simple on an OS, which language is 'en', get the following failed test:
      testGetLanguage(org.odftoolkit.simple.meta.OfficeMetaTest)

      It is returning "en" for the language, but the test case is expecting "Chinese". The meta.xml for the document has "Chinese". So something weird is happening. Maybe
      it is not finding it and falling back on a system-defined default? In that case, Chinese system might be giving the right answer, but for the wrong reason.

      Devin

      Attachments

        Activity

          People

            devinhan Biao Han
            devinhan Biao Han
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: