stable
Clone or download
Read-only
The id of the project will be needed in order to complete the setup once the upload of the archive is finished. You can test by using the api explorer and `POST /projects` from archive. This will return a project id and an upload href. This id is present in the corresponding row in `project_file_upload` table. part of story #36484 create a new project from an XML template Change-Id: If3ae8e8df53dd1994ab1c6efb8c8bba695bb1a82
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/REST/v1/RestProjectCreator.php | +4 | −2 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/FileOngoingUploadDao.php | +2 | −1 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/InsertFileToUpload.php | +14 | −3 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ProjectFileToUploadCreator.php | +3 | −1 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +2 | −1 | Go to diff View file |
A | src/db/mysql/updates/2024/2024003071430_add_project_to_project_file_upload_table.php | +47 | −0 | Go to diff View file |
M | tests/unit/common/Project/Registration/Template/Upload/FileToUploadCreatorTest.php | +3 | −1 | Go to diff View file |