Skip to content

fix:修复bool默认无效 --bug=150687052 【CMDB】[前端]业务拓扑中自定义字段bool字段默认值无效#8600

Open
elizabevil wants to merge 1 commit into
TencentBlueKing:v3.14.xfrom
elizabevil:v3.14.x-fix-boolDefault
Open

fix:修复bool默认无效 --bug=150687052 【CMDB】[前端]业务拓扑中自定义字段bool字段默认值无效#8600
elizabevil wants to merge 1 commit into
TencentBlueKing:v3.14.xfrom
elizabevil:v3.14.x-fix-boolDefault

Conversation

@elizabevil
Copy link
Copy Markdown
Contributor

@elizabevil elizabevil commented Jan 16, 2026

修复的问题:

  • 业务拓扑中自定义字段bool字段默认值无效

修复方案[后端]:

  • migrate处理历史数据,将option值迁移到default字段,后续使用default字段作为bool类型默认值

@elizabevil elizabevil closed this Jan 19, 2026
@elizabevil elizabevil reopened this Jan 19, 2026
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch from e05371f to 1be0ad9 Compare January 20, 2026 10:10
Comment thread src/source_controller/coreservice/core/instances/validator_util.go Outdated
Comment thread src/source_controller/coreservice/core/instances/validator_util.go Outdated
Comment thread src/source_controller/coreservice/core/instances/validator_util.go Outdated
Comment thread src/source_controller/coreservice/core/instances/validator_util.go Outdated
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch 2 times, most recently from ff5aaea to a910b39 Compare March 23, 2026 08:43
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch 2 times, most recently from 3e48121 to a910b39 Compare March 31, 2026 08:22
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch 2 times, most recently from ab10fb6 to be0a257 Compare April 13, 2026 09:56
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch from be0a257 to 58c4ac5 Compare April 24, 2026 07:17
@elizabevil elizabevil force-pushed the v3.14.x-fix-boolDefault branch from 58c4ac5 to 20356a8 Compare May 13, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants