ModelEngine-Group / ModelEngine-Group/app-platform

调试的错误信息国际化失败

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.