Topic by Salvatore
Content
I developed and tested an add-in on our UAT environment and it is working properly, but when I deployed on the Production environment, I discovered a weird issue:
publicstaticvoid setGlobalContext(IGlobalContext gc) { _globalCtx = gc; _answerAccessLevelList = _globalCtx.GetOptlist((int)OptListId.OPTL_ANS_ACCESS_LEVELS); _answerStatusList = _globalCtx.GetOptlist((int)OptListId.OPTL_ANS_STATUSES); _supportedLanguages = _globalCtx.GetOptlist((int)OptListId.OPTL_ALL_LANGUAGES); }
Despite the fact that both environments are based on an English UK interface (see attached screenshot),
_globalCtx.GetOptlist((int)OptListId.OPTL_ALL_LANGUAGES); returns the list of all languages in English (UK) on UAT and in italian (!!!) on the production interface.
GetOptlist((int)OptListId.OPTL_ANS_STATUSES) and GetOptlist((int)OptListId.OPTL_ANS_ACCESS_LEVELS); return items in English language, as expected.
Why _globalCtx.GetOptlist((int)OptListId.OPTL_ALL_LANGUAGES); is returning languages in Italian ?
Note: OPTL_ALL_LANGUAGES = 0x9c
Thanks,
Salvatore
Image
