GEM: Reference型Propertyを表示タイプ:UNIQUEで編集する際のエラーメッセージ改善 対応 - #2188
Merged
xlei-duoce merged 2 commits intoAug 5, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Issue #2181(ReferencePropertyEditor を表示タイプ:UNIQUEで編集時、未選択確定のエラーメッセージが「重複のデータ。」になってしまう)に対して、未選択時に適切なメッセージを表示できるようにするPRです。GEMの参照選択(UNIQUE)処理に未選択判定を追加し、各ロケールに新規メッセージキーを追加しています。
Changes:
- UNIQUE参照選択で、確定時に選択値が未設定の場合は重複チェック前に専用メッセージを表示して終了
scriptContext.gem.locale.reference.notSelectedDataを各ロケール(ja/en/zh-CN/zh-TW/th)に追加- 既存の重複エラーメッセージ(
duplicateData)は重複時のみ引き続き使用
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/i18n/gem-locale-zh-TW.js | 未選択時メッセージ(繁体字)を追加 |
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/i18n/gem-locale-zh-CN.js | 未選択時メッセージ(簡体字)を追加 |
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/i18n/gem-locale-th.js | 未選択時メッセージ(タイ語)を追加 |
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/i18n/gem-locale-ja.js | 未選択時メッセージ(日本語)を追加 |
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/i18n/gem-locale-en.js | 未選択時メッセージ(英語)を追加 |
| iplass-gem/src/main/resources/META-INF/resources/scripts/gem/common.js | UNIQUE参照選択の未選択判定と新メッセージ表示を追加 |
CHENHAOWEN0105
approved these changes
Aug 4, 2026
yuichi-github
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
対応内容
closes #2181
動作確認・スクリーンショット(任意)
対象データが未選択です。と表示されるようになりました。あわせて、多言語対応テストも実施しました。レビュー観点・補足情報(任意)