Uploading project export with LFS file locks fails
If you export a project with LFS file locks it will fail.
Steps to reproduce
- Create a project
- Add an LFS file
- Lock the the LFS file
- Export the project
- Import the project
I exported https://gitlab.com/jramsay/lfs-test tried to import to staging
What is the current bug behavior?
Import fails
Error importing repository into jramsay/lfs-test-import - Failed to replace lfs_file_locks because one or more of the new records could not be saved. User can't be blank
What is the expected correct behavior?
Import should succeed
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)