Error history for published V1 deleted when to-be-published V2 is created
cc @jordandc
Expected behaviour
Error history should be retained in the component version those errors historically occurred
Current behaviour
Error history is getting deleted when new component version is created
Steps to reproduce
Please see error-history-deleted.zip at: https://nextcloud.coko.foundation/s/zp26xmB3eP6Px3w?path=%2FLarge%20testing%20videos
- Process a file with errors
- Fix errors and reprocess
- Publish component
- Create new published version
- Go to previous version's errors tab
- Open error history and see it is empty
Environment
PC Chrome Version 92.0.4515.159 (Official Build) (64-bit)
Priority
- Resolving this bug is required for migration - Y, because can't lose history once in production because can't recapture it later, but should be one of last things to fix