MDL-58227 introduced upgrade script that was executed when upgrading to 3.1.6 and 3.2.3 , it was supposed to remove duplicate feedback submissions but accidentally removed valid anonymous completions
MDL-60366 fixed this upgrade srcript (3.1.9, 3.2.6, 3.3.3) but if the sites were upgraded between these releases they have data loss.
We can restore almost all information about completion from other database tables but there are some situations when we can "restore too much" so I am not confident to include this script as part of unconditional upgrade.
This is a suggestion to create a CLI script that would allow to restore missed data and also allow to restore it partially (only in selected feedbacks), specify whether to use or not use log table, etc.
- has been marked as being related by
-
MDL-60366 Feedback upgrade deletes valid multiple attempts
- Closed