Skip to content

fix: optimize bk_property_id bk_ prefix error message with i18n support--bug=159428564#8669

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

fix: optimize bk_property_id bk_ prefix error message with i18n support--bug=159428564#8669
elizabevil wants to merge 1 commit into
TencentBlueKing:v3.14.xfrom
elizabevil:v3.14.x-fix-attrtemplate

Conversation

@elizabevil

Copy link
Copy Markdown
Contributor

问题:
字段组合模板 引用模型的内置字段 例如交换机bk_sn接口报错

方案:
优化错误信息

添加新的错误码 1199093 (CCErrCommParamsReservedFieldPrefix) 用于不能以bk_开头
Messages:

  • Chinese: '%s' 不能以bk_开头,该前缀为系统字段保留
  • English: '%s' cannot start with bk_, this prefix is reserved for system fields

@elizabevil elizabevil force-pushed the v3.14.x-fix-attrtemplate branch from 26c7449 to d932110 Compare June 16, 2026 10:25
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.

1 participant