stable

Clone or download

Read-only

Refactoring: move edition of service in dedicated object

Part of story #10913: Services management This is the same as commit #b11302dbe70602c3687e927913284518be401b48 but for edition of service. Minor functional changes: when there is an error, we display it now in a feedback error, instead of plain text on empty page. Change-Id: I19f53f9baef613fdaf8bb26101860d5215e48e5d

Modified Files

Name
M site-content/en_US/project/project.tab +1 −2 Go to diff View file
M site-content/fr_FR/project/project.tab +1 −2 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
M src/common/dao/ServiceDao.class.php +36 −11 Go to diff View file
M src/common/project/Service/AdminRouter.php +8 −2 Go to diff View file
A src/common/project/Service/EditController.php +147 −0 Go to diff View file
M src/common/project/Service/ServicePOSTData.php +15 −0 Go to diff View file
M src/common/project/Service/ServicePOSTDataBuilder.php +2 −0 Go to diff View file
A src/common/project/Service/ServiceUpdator.php +79 −0 Go to diff View file
A src/common/project/Service/UnableToUpdateServiceException.php +25 −0 Go to diff View file
M src/www/project/admin/editservice.php +8 −1 Go to diff View file
M src/www/project/admin/servicebar.php +10 −83 Go to diff View file