]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commit
fix(ERP-243): catch all exceptions in TimetableService transaction rollback origin/feature_filippov_ERP-243_fix_timetable_transaction
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 26 Feb 2026 19:58:14 +0000 (22:58 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 26 Feb 2026 19:58:14 +0000 (22:58 +0300)
commitc6baa75205b27391fa59d94efe6ff19b277951aa
tree70d801b0b649d7c5a018400342a483c4ffa86ce6
parenta7a51388e6099f235236cac57a1f4d0eab483bbb
fix(ERP-243): catch all exceptions in TimetableService transaction rollback

catch (Exception) only caught yii\db\Exception, missing
InvalidArgumentException from validation/upload errors. This left
orphaned timetable records with tabel=1 but no timetable_fact entry,
blocking shift reopening.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
erp24/api3/core/services/TimetableService.php