You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-reportedIssue is created by anyone that is not a collaborator in the repository.
What package version of the SDK are you using.
4.14.2
Describe the bug
Very strange localization issues appeared in our production application, like formatting dates in Chinese, Portuguese etc. Incidentally, soon after rolling out our Teams app which is part of our backend monolith. Turns out the SDK sets the default locale since #1074 with Locale.setDefault() which is JVM global.
To Reproduce
Steps to reproduce the behavior:
Send a message to a bot with locale other than en_US
Default locale changes, verify with Locale.getDefault()
Expected behavior
Locale.setDefault() is not run by the SDK as it's JVM-wide.
Screenshots
If applicable, add screenshots to help explain your problem
.
Additional context
Add any other context about the problem here.
Happens in BotAdapter.javahere.
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-reportedIssue is created by anyone that is not a collaborator in the repository.
Activity
anishprasad01 commentedon May 2, 2022
Hi Gergely Gombos (@gombosg),
Thank you for the report.
Unfortunately, at this time there are no updates scheduled for the Java SDK, barring any major security fixes that need to be addressed.