TVB-2791: Fix metadata lost during export exclude exporting failed operations
Created by: adrian-dordea
When we export a project and import it again, it has been noted that:
- the DT names in the Project -> Data Structure tree are shorter. Investigating shows that
operation_tag
is not correctly preserved in the VM.h5 files. - if we have operations with errors after export + import, they become with status success. This happens as we are not longer keeping a dedicated
operation.xml
file. We decided for now to simply do not export operations with errors, as they will most probably also don't have a result DT. We might need to review this in the future, but for now, it should be good enough.
This PR is to ammend these.