Skip to content

fix #3192 【カスタムコンテンツ:フィールド:5.1】(都道府県リスト)プレビュー操作不具合#4413

Open
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#3192
Open

fix #3192 【カスタムコンテンツ:フィールド:5.1】(都道府県リスト)プレビュー操作不具合#4413
kaburk wants to merge 1 commit into
baserproject:5.2.xfrom
kaburk:5.2.x-#3192

Conversation

@kaburk

@kaburk kaburk commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

よろしくお願いします。

Copilot AI review requested due to automatic review settings June 5, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

カスタムコンテンツの「都道府県リスト」フィールド(BcCcPref)のプレビュー画面で、初期値の反映・編集が正しく動作しない問題(#3192)を修正し、あわせて関連テストを追加するPRです。副次的に、二段階認証コード検証テストの実行安定性を高めています。

Changes:

  • BcCcPref のプレビュー用フォーム属性を :value から v-model に変更し、Vue 側の双方向バインディングで初期値が扱えるように修正
  • 上記の挙動を検証する BcCcPrefHelper のテストを追加
  • TwoFactorAuthenticationsService の検証テストで BcApp.twoFactorAuthenticationCodeAllowTime を一時的に固定し、テスト間干渉を回避

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
plugins/bc-custom-content/tests/TestCase/View/Helper/BcCcPrefHelperTest.php BcCcPref のプレビューHTMLに v-model が出力されることを確認するテストを追加
plugins/bc-custom-content/plugins/BcCcPref/src/View/Helper/BcCcPrefHelper.php プレビュー時の属性を v-model="entity.default_value" に変更し、プレビュー操作不具合を修正
plugins/baser-core/tests/TestCase/Service/TwoFactorAuthenticationsServiceTest.php 検証テスト中のみ許容時間設定を固定し、グローバル設定の影響を受けにくくする

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.

2 participants