stable
Clone or download
Read-only
Part of story #13626 Drag and drop cards How to test: Before this patch, passing a payload like: {"ids": [123], "direction": "after", "compared_to": 456 } was valid and even tested by the REST test. It should not have been valid. This patch will reject such payload and will accept this one: {"order":{ "ids": [123], "direction": "after", "compared_to": 456 } } Change-Id: I290addb94985993fe7dd19609a612880bc14bffc
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/taskboard/include/REST/ResourcesInjector.php | +1 | −1 | Go to diff View file |
A | plugins/taskboard/include/REST/v1/Cell/CellPatchRepresentation.php | +47 | −0 | Go to diff View file |
R | plugins/taskboard/include/REST/v1/CellPatcher.php | Go to diff View file | ||
R | plugins/taskboard/include/REST/v1/TaskboardCellResource.php | Go to diff View file | ||
R | plugins/taskboard/phpunit/REST/v1/CellPatcherTest.php | Go to diff View file | ||
M | plugins/taskboard/site-content/fr_FR/LC_MESSAGES/tuleap-taskboard.po | +3 | −0 | Go to diff View file |
M | plugins/taskboard/tests/rest/TaskboardCellTest.php | +21 | −5 | Go to diff View file |