Skip to content

fix: 日程範囲外スロットによるカレンダー描画クラッシュを防止#91

Merged
nakaterm merged 2 commits into
developfrom
fix/calendar-matrix-out-of-range-slots
Jun 17, 2026
Merged

fix: 日程範囲外スロットによるカレンダー描画クラッシュを防止#91
nakaterm merged 2 commits into
developfrom
fix/calendar-matrix-out-of-range-slots

Conversation

@nakaterm

Copy link
Copy Markdown
Contributor

No description provided.

nakaterm added 2 commits June 17, 2026 20:52
DB に範囲外の Slot が存在する場合 CalendarMatrix の行列アクセスが
out of bounds になり画面がクラッシュしていたため、行列境界チェックを
追加して該当セルを無視するようにした。また、提出/更新エンドポイントで
プロジェクトの日程範囲外のスロットをサーバー側で拒否し、今後同様の
データが作られないようにした。
フロントエンドの境界チェックのみ残し、サーバー側の検証は別途検討する。
@nakaterm nakaterm merged commit c18414e into develop Jun 17, 2026
3 checks passed
@nakaterm nakaterm deleted the fix/calendar-matrix-out-of-range-slots branch June 17, 2026 12:11
@nakaterm nakaterm restored the fix/calendar-matrix-out-of-range-slots branch June 17, 2026 15:47
@nakaterm nakaterm deleted the fix/calendar-matrix-out-of-range-slots branch June 17, 2026 15:48
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.

1 participant