BaseInfoを@FormAppendで拡張すると、認証キー登録ができなくなる
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 45
Description
## 概要(Overview)
http://doc4.ec-cube.net/customize_entity に従いBaseInfoTraitを作成し、カラム追加する
オーナーズストアの認証キー登録画面で認証キーを登録する
成功メッセージが表示されない。
認証キー登録画面のFormTypeに`@FormAppend`で拡張した項目が追加されているため、NotBlankバリデーションに引っかかり、更新できなくなる。NotBlank等のバリデーションがなければnull更新されてしまう。
## 期待する内容(Expect) or 要望 (Requirement)
## 再現手順(Procedure)
### 環境 (environment)
+ EC-CUBE: 4.0.0
+ PHP: x.x.x
+ DB:
- PostgreSQL x.x.x
- MySQL x.x.x
## 関連情報 (Ref)
Contributor guide
Research direction
Start with the customize_entity guide and the BaseInfoTrait and @FormAppend setup described in the issue. Reproduce the authentication-key registration through its FormType, then verify that appended fields do not block registration or cause unintended null updates when the key is saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100