ModelEngine-Group / ModelEngine-Group/app-platform
调试的错误信息国际化失败
Open
Nobody has claimed this yet.
in: builder
status: waiting-for-internal-feedback
type: bug
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 233
- PR merge metrics
- No merged PRs in 30d
Description
当前调试时候错误信息是往runtimeInfo数据库放置数据,此时国际化的locale是从session里面取。但是session此时已经在之前remove了,导致locale不正确,最后影响国际化显示
补充:对话时候的国际化也不对。可以拿对话用户超过16个作为例子
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how debug errors are written to the runtimeInfo database and how the locale is obtained after the session is removed. Then inspect the conversation path using the case of a conversation user count exceeding 16. Done means both debug error messages and conversation messages use the correct internationalization locale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100