Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

楽観ロックエラーが生じたときのメッセージが更新用の文言になっている #1912

Open
kenjiyoshid-a opened this issue Jan 24, 2025 · 0 comments
Labels
target: Dressca サンプルアプリケーションDresscaに関係がある 不具合 現在リリース中のバージョンに不具合・バグがある
Milestone

Comments

@kenjiyoshid-a
Copy link
Contributor

概要

  • Dressca の OptimisticLockingFailureException が例外として throw された時のメッセージが、「カタログアイテム ID: {0} のカタログアイテムの更新時に楽観ロックエラーが発生しました。」となっている。
  • 楽観同時実行制御に伴う楽観ロックエラーはカタログアイテムの削除の際にも throw される可能性があるため、メッセージを変更しなければならない。

詳細 / 機能詳細(オプション)

  • dressca-backend\application-core\src\main\resources\applicationcore\messages.properties に存在する、optimisticLockingFailureと紐づけられたメッセージの文言を適切なものに修正する。

完了条件

  • 楽観ロックエラーが起きた際に出力されるメッセージが更新用のものではなく、更新と削除両方を包括する汎用的なものになっている。
  • OptimisticLockingFailureExceptionのコメントが修正されている。
  • ExceptionIdConstantsのコメントが修正されている。
@kenjiyoshid-a kenjiyoshid-a added not triaged 精緻化、分析がされていない target: Dressca サンプルアプリケーションDresscaに関係がある and removed not triaged 精緻化、分析がされていない labels Jan 24, 2025
@tsuna-can-se tsuna-can-se added the 不具合 現在リリース中のバージョンに不具合・バグがある label Jan 28, 2025
@tsuna-can-se tsuna-can-se added this to the v1.1.0 milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: Dressca サンプルアプリケーションDresscaに関係がある 不具合 現在リリース中のバージョンに不具合・バグがある
Projects
None yet
Development

No branches or pull requests

2 participants