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

工单提交,若需审批成员过多时会报错数据超长 #2601

Closed
iwanghc opened this issue Sep 13, 2024 · 1 comment
Closed

工单提交,若需审批成员过多时会报错数据超长 #2601

iwanghc opened this issue Sep 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working not_compatible not compatible old version publish-pre3 verified the issue all pr is verified
Milestone

Comments

@iwanghc
Copy link
Collaborator

iwanghc commented Sep 13, 2024

版本信息(Version)

SQLE:main 141b8a1
DMS:main 20d313b918e8d7b0f844352da3b4ef0d146119ff
UI:main 33925954

问题描述(Describe)

审批流程模版,匹配拥有数据源审核权限的,若在成员权限中配置超过20人会提示报错(execution_assignees字段长度为255)

截图或日志(Log)

img_v3_02el_6c7938a9-b75c-40ac-a23d-8982bb99128g
image
image

修复时注意影响工单列表显示
image

如何复现(To Reproduce)

1、用户中心添加用户20个
2、在成员与权限中,创建成员组,把这20个用户添加到组内,并且给SQLE管理员和数据源权限
3、sql工单中创建工单时选择第2步中的数据源,点击提交,页面提示报错

问题原因

解决方案

增大工单审批人的数量,升级后,最大能支持100人

升级方案

增加以下4张表分配人员的长度

ALTER TABLE sqle.workflow_instance_records MODIFY COLUMN execution_assignees varchar(2000);

ALTER TABLE sqle.sql_manage_record_processes MODIFY COLUMN assignees varchar(2000);

ALTER TABLE sqle.sql_manages MODIFY COLUMN assignees varchar(2000);

ALTER TABLE sqle.workflow_steps MODIFY COLUMN assignees varchar(2000);

变更影响面

受影响的模块或功能

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

版本兼容性

测试建议

@iwanghc iwanghc added the bug Something isn't working label Sep 13, 2024
@ColdWaterLW ColdWaterLW added this to the v3.2409.0 milestone Sep 13, 2024
@ColdWaterLW ColdWaterLW modified the milestones: v3.2409.0, v3.2410.0 Oct 8, 2024
@ColdWaterLW ColdWaterLW modified the milestones: v3.2410.0, v3.2411.0 Oct 28, 2024
@ColdWaterLW ColdWaterLW assigned taolx0 and unassigned ColdWaterLW Oct 28, 2024
@taolx0 taolx0 closed this as completed Nov 1, 2024
@taolx0 taolx0 added the not_compatible not compatible old version label Nov 4, 2024
@taolx0
Copy link
Collaborator

taolx0 commented Nov 5, 2024

num1
num2

@taolx0 taolx0 added the verified the issue all pr is verified label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not_compatible not compatible old version publish-pre3 verified the issue all pr is verified
Projects
None yet
Development

No branches or pull requests

3 participants