Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Locale data validating code in product version|
|Status:||CLOSED FIXED||QA Contact:||issues <issues.openoffice.org>|
|Issue Type:||TASK||Latest Confirmation on:||---|
Description ooo 2005-03-15 12:36:45 UTC
The non-product builds implement several checks that validate locale data, especiallly number format codes that can't really be evaluated by other means than the number formatter itself. As almost no one except Hamburg release engineering does non-product builds, the checks should also be included in a product build but only be activated by setting some environment variable. This will prevent defect locale data being submitted, which in the past was often the case.
Comment 1 ooo 2005-03-15 12:38:34 UTC
Comment 2 ooo 2005-04-25 19:18:00 UTC
On branch cws_src680_localedata4: i18npool/source/localedata/LocaleNode.cxx 188.8.131.52 i18npool/source/localedata/LocaleNode.hxx 184.108.40.206 i18npool/source/localedata/data/locale.dtd 220.127.116.11 unotools/inc/unotools/localedatawrapper.hxx 18.104.22.168 unotools/source/i18n/localedatawrapper.cxx 22.214.171.124 svtools/inc/zforlist.hxx 1.32.326.1 svtools/source/numbers/zforlist.cxx 126.96.36.199 Setting the environment variable OOO_ENABLE_LOCALE_DATA_CHECKS to 'Y' or 'Yes' (or any other string starting with 'Y') or '1' before starting the application outputs messages to stderr if checks fail and also works in a product build. In a non-product build the checks are still always enabled. Additionally introduced some very basic checks during build time, which if failed will break the build.
Comment 3 ooo 2005-04-28 13:06:46 UTC
Verified presence in CWS build.
Comment 4 ooo 2005-06-30 11:27:29 UTC
Integrated in m109.