Skip to content
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

导入的数据源无法使用也无法删除 #2810

Closed
taolx0 opened this issue Dec 9, 2024 · 3 comments
Closed

导入的数据源无法使用也无法删除 #2810

taolx0 opened this issue Dec 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working publish-rel verified the issue all pr is verified
Milestone

Comments

@taolx0
Copy link
Contributor

taolx0 commented Dec 9, 2024

版本信息(Version)

main a6355ff

问题描述(Describe)

用户使用 DMS 批量导入数据源功能时,部分导入的数据源无法正常使用且无法删除。经排查,问题原因在于数据源标识不符合系统规定的命名规则,但系统仍允许其导入。

截图或日志(Log)

image
image

如何复现(To Reproduce)

问题原因

前端在添加数据源时,对名称有所限制,而后端没有相关限制

解决方案

在导入、创建数据源时,对数据源名称进行验证

变更影响面

创建和导入数据源、同步外部数据源时,会对数据源名称进行验证,只能新增名称合法的数据源

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

@taolx0 taolx0 added the bug Something isn't working label Dec 9, 2024
@ColdWaterLW ColdWaterLW added this to the v3.2412.0 milestone Dec 9, 2024
@ColdWaterLW ColdWaterLW assigned BugsGuru and unassigned ColdWaterLW Dec 25, 2024
@BugsGuru
Copy link
Collaborator

BugsGuru commented Dec 31, 2024

在包含provision组件的环境中复现时,数据源是可以使用和删除的(但无法编辑数据源提交)
img_v3_02i3_47045785-9358-4949-9dfb-ef6fb30b29dg
image
819065ee-3299-44ba-9fef-936295d2076b

@BugsGuru
Copy link
Collaborator

BugsGuru commented Jan 3, 2025

自测

创建数据源时数据源名称非法
image
导入数据源时数据源名称非法
image

@BugsGuru BugsGuru closed this as completed Jan 3, 2025
@LordofAvernus
Copy link
Collaborator

版本信息
UI: main-ee d090c30d1
DMS: main-ee fb079bfb2c
SQLE: main-ee 4b93f213a3

验证
20250103161134_rec_

@LordofAvernus LordofAvernus added the verified the issue all pr is verified label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working publish-rel verified the issue all pr is verified
Projects
None yet
Development

No branches or pull requests

4 participants