stable

Clone or download

Read-only

Description is not mandatory at project creation

part of story #8283 Enhance project creation user experience How to test: have a flag enable_not_mandatory_description in local.inc Given flag is set to 1 in local.inc Then description is no longer mandatory at project update Given flag is set to 0 or is not present in local.inc Then description is mandatory at project update Flag will be removed, when the site admin UI will be done Change-Id: Ifc6d84d2af399fb133a433c50abcb535637c1c94

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +2 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +2 −0 Go to diff View file
M src/common/CLI/Command/ImportProjectXMLCommand.php +2 −0 Go to diff View file
M src/common/Project/Admin/ProjectDetails/ProjectDetailsController.php +3 −7 Go to diff View file
M src/common/Project/OneStepCreation/OneStepCreationController.class.php +5 −1 Go to diff View file
M src/common/Project/OneStepCreation/OneStepCreationPresenter.class.php +11 −5 Go to diff View file
M src/common/Project/OneStepCreation/OneStepCreationValidator.class.php +8 −7 Go to diff View file
M src/common/Project/ProjectCreator.class.php +21 −6 Go to diff View file
A src/common/Project/ProjectDescriptionMandatoryException.php +34 −0 Go to diff View file
A src/common/Project/ProjectDescriptionUsageRetriever.php +34 −0 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +12 −7 Go to diff View file
M src/templates/project/register.mustache +5 −3 Go to diff View file
M src/www/soap/project/index.php +2 −0 Go to diff View file
M tests/integration/tests/ProjectCreationTest.php +3 −1 Go to diff View file
M tests/phpunit/common/Project/OneStepProjectCreationValidatorTest.php +61 −2 Go to diff View file
M tests/phpunit/common/Project/ProjectCreatorTest.php +188 −28 Go to diff View file
M tests/phpunit/common/Project/ProjectXMLImporterTest.php +4 −1 Go to diff View file
M tests/simpletest/common/Project/OneStepProjectCreationPresenterTest.php +8 −6 Go to diff View file
D tests/simpletest/common/Project/ProjectCreatorTest.php +0 −156 Go to diff View file