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

活動を一覧画面からまとめて削除しようとするとundefinedエラーが生じる不具合の修正 #1077

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

K-Haruto
Copy link
Collaborator

@K-Haruto K-Haruto commented Aug 26, 2024

関連Issue / Related Issue

不具合の内容 / Bug

活動を一覧画面からまとめて削除しようとするとundefinedエラーが生じる.

原因 / Cause

参加者を含むレコードは親レコードが削除されると子レコードも削除される.
そのため, すでに削除済みの子レコードに対して再度deleteを実行しようとしていた.

変更内容 / Details of Change

delete前にisRecordExists($recordId)を用いてレコードの存在判定を行う.
なお, 参加者を含む活動作成時にFatalErrorが発生する場合には #1069 を適用してください.

影響範囲 / Affected Area

活動のまとめて削除機能関連(MassDelete)

チェックリスト / Check List

  • 自らテストを行った
  • 不必要な変更が無い
  • 影響範囲の検討を行った

備考 / Remarks

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.

[不具合] 活動を一覧画面からまとめて削除しようとするとundefinedエラーが生じる
1 participant