fix(테이블타입): USER_SELECTABLE_INPUT_TYPES 화이트리스트에 legacy input_type 7개 복원
Build & Deploy to K8s / build-and-deploy (push) Successful in 15m1s
Build & Deploy to K8s / build-and-deploy (push) Successful in 15m1s
5/15 common-code 재설계가 화이트리스트를 8종으로 좁히면서 운영 DB 의 옛 input_type 값들을 매핑/정리하는 마이그레이션을 빠뜨려, 컬럼 설정 저장 batch POST 가 한 row 라도 legacy 값(category/select/textarea/ checkbox/radio/datetime/boolean)을 포함하면 400 거부. 운영 메타 DB 실측: 화이트리스트 밖 row 1,207건 (category 886, select 149, textarea 102, checkbox 55, radio 12, datetime 2, boolean 1). 운영 데이터/UI 의미를 보존하기 위해 매핑이 아닌 화이트리스트 확장 (legacy 7종 추가)으로 회복. legacy 정리는 별도 PR 에서 점진적으로. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,9 +5,15 @@ import java.util.Set;
|
||||
public final class InputTypeConstants {
|
||||
private InputTypeConstants() {}
|
||||
|
||||
/** 사용자가 직접 선택 가능한 INPUT_TYPE 8종 (INSERT/UPDATE-type 검증용) */
|
||||
/**
|
||||
* INSERT/UPDATE-type 검증용 허용 INPUT_TYPE.
|
||||
* 신규 표준 8종 + 운영 DB 에 잔존하는 legacy 7종(category/select/textarea/checkbox/radio/datetime/boolean).
|
||||
* 5/15 common-code 재설계가 화이트리스트를 8종으로 좁히면서도 옛 데이터/프론트 정리를 빠뜨려
|
||||
* 컬럼 설정 저장 batch 가 일괄 거부됐던 회귀 회복. legacy 정리는 별도 PR 로.
|
||||
*/
|
||||
public static final Set<String> USER_SELECTABLE_INPUT_TYPES = Set.of(
|
||||
"text", "number", "date", "code", "entity",
|
||||
"numbering", "file", "image"
|
||||
"numbering", "file", "image",
|
||||
"category", "select", "textarea", "checkbox", "radio", "datetime", "boolean"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user