-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the new configuration type is properties, the save fails #3433
Comments
I tried in 1.3.1 demo console, properties can be published. |
I guess your first line is a comment. If so , the issue is duplicated with #3103. |
I tried again and found that it cannot be saved if the value is empty logging.level.org.mybatis=DEBUG |
Seems like your configurations content syanx is wrong. The synax of properties format should be key=value |
Can you help to resolve this issue? @wangwei |
@zongtanghu 这个 ISSUES 跟 #3103 重复,都是 Dialog.confirm({
content: locale.confirmSyanx,
language: aliwareIntl.currentLanguageCode || 'zh-cn',
onOk: () => {
this.publicConfigBeforeCheck(content);
},
}); 同时 |
问一下,咱们这边有React环境配置和编译步骤吗? |
@ljhrot 你可以提一个pr来修复下这个前端问题吗? |
@zongtanghu 我给 #3103 提个 PR,也会修复这个的 |
1.3.0发现这个问题,更新1.3.1问题依旧,暂时是通过发布为其他类型配置文件再编辑修改为properties类型去规避的 |
duplicate with #3103 |
Issue Description
Type: bug
Describe what happened (or what feature you want)
When the new configuration type is properties, the save fails
新建配置的类型 为 properties 时,保存失败
console output:
main.js:285 Uncaught TypeError: Cannot read property 'currentLanguageCode' of undefined at main.js:285 at main.js:317 at Array.<anonymous> (main.js:317) at main.js:317 at r (main.js:14) at e (main.js:14) at a (main.js:317) at n.value (main.js:285) at main.js:317 at e (main.js:14)
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
version1.3.1
windows 10
Anything else we need to know?
When the configuration type is other, it can be saved successfully
配置类型为其它时,可以保存成功
The text was updated successfully, but these errors were encountered: