- Issue created by @catch
- 🇬🇧United Kingdom catch
Another way to do this would be to checkout isSyncing() in presave and set it in the post update, that would also allow the update to complete but be a bit stricter at runtime.
- Status changed to Needs work
6 months ago 9:18am 4 July 2024 - 🇵🇱Poland Graber
The solution in the MR looks good, can we just add a warning log if an LPStatus is not new and has a duplicate as this indicates some data corruption?
- Status changed to Needs review
6 months ago 4:00pm 4 July 2024 - 🇬🇧United Kingdom catch
Added a trigger_error('...', E_USER_WARNING) so it now looks like:
> [warning] User 6506 already has a learning path status on learning path 201. LPStatus.php:236
So noisy but not fatal any longer.
- Merge request !4Allow dependency injection on activity-answer plugins; Allow auto evaluation... → (Merged) created by catch
- Status changed to Fixed
6 months ago 4:07pm 4 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.