New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zip Import to Experiments missing Attachements, Steps, Linked Items, Comments #1645
Comments
Hello, Yes indeed. For the uploaded file, it's a bug that I have now fixed. For the steps and links there was never any code to do that anyway so this would need to get added. Thanks for the report! |
If you need to monkey patch your system, here is the commit to fix files not getting uploaded: af3da54 This change will be part of the 3.4.0 version. |
I added the code for importing steps and links. But for links, let's say you are reimporting your experiments to another database, the links id will be wrong, so it doesn't make sense to redo the links like they were before. So they are added at the bottom of the body of the experiment as text. |
Thanks a lot for the fast bug fixing and implementation! |
In addition to the missing items above, imports of experiments by zip folder also don't keep their locked state or timestamps. Also the status of the experiment is not retained. |
The status is not retained because status are editable (so you can't expect to have the same everywhere). But maybe adding a status select in the import UI would be good for experiments. As for locking I prefer to leave it like that, because the locking mechanism needs a userid as locker, and when you import it could be from a totally different database, so it doesn't make sense imho to keep the locked state. |
Describe the bug
Imports of Experiments by using the ZIP archives is missing attachments, steps, linked items and comments.
Steps to reproduce
Information
The text was updated successfully, but these errors were encountered: