stable
Clone or download
Read-only
request #8313 Remove spaces at the end of an item title
When submitting an item (a folder for instance) in the docman service with one or more space at the end (i.e "My title "), this will lead to an error while accessing this item through Webdav. So, the spaces at the end will be removed while saving the item. This behaviour is also implemented for the edition. Finally, some SOAP automated tests are added for docman plugin. Change-Id: Ia335169c56d5ad5693cbb39b9f3c2657234e3e84
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_Actions.class.php | +9 | −0 | Go to diff View file |
A | plugins/docman/tests/soap/DocmanTest.php | +149 | −0 | Go to diff View file |
M | plugins/tests/www/TuleapTestSuite.class.php | +5 | −0 | Go to diff View file |
M | tests/bin/generate-phpunit-testsuite-soap.php | +4 | −0 | Go to diff View file |
M | tests/lib/TestDataBuilder.php | +6 | −0 | Go to diff View file |
M | tests/lib/rest/TestDataBuilder.php | +0 | −6 | Go to diff View file |
M | tests/lib/soap/DatabaseInitialization.php | +1 | −0 | Go to diff View file |
M | tests/lib/soap/TestDataBuilder.php | +13 | −0 | Go to diff View file |
M | tests/lib/soap/init_data.php | +1 | −0 | Go to diff View file |