stable

Clone or download

Read-only

feat: async failure => send email

part of story #36484 create a new project from an XML template How to test: have an archive with some data inside use UI to import your project from archive: => the import of archive fails and an email is sent to warn user about failure Why? Project creation is made asynchronously and we can not provide direct feedback to user. Change-Id: Ia62fcd369387cb135b785c69d5b040e5e1583f55

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +10 −0 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +10 −0 Go to diff View file
M src/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProject.php +25 −1 Go to diff View file
A src/common/Project/Registration/Template/Upload/NotifyProjectImportMessage.php +34 −0 Go to diff View file
M src/common/Project/Registration/Template/Upload/NotifyProjectImportStatus.php +1 −1 Go to diff View file
M src/common/Project/Registration/Template/Upload/ProjectAfterArchiveImportActivation.php +15 −1 Go to diff View file
A src/common/Project/Registration/Template/Upload/ProjectImportMessage.php +58 −0 Go to diff View file
R src/common/Project/Registration/Template/Upload/ProjectImportStatusNotifier.php Go to diff View file
A src/common/Project/Registration/Template/Upload/notification-project-creation-error-text.mustache +10 −0 Go to diff View file
A src/common/Project/Registration/Template/Upload/notification-project-creation-error.mustache +11 −0 Go to diff View file
M src/common/Queue/WorkerEventProcessorFinder.php +4 −2 Go to diff View file
M tests/lib/Stubs/Project/Registration/Template/Upload/NotifyProjectImportStatusStub.php +2 −1 Go to diff View file
M tests/unit/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProjectTest.php +14 −0 Go to diff View file