stable

Clone or download

Read-only

fix: SVN notifications wirh only user groups must be allowed using REST

This closes request #28256 Updating an SVN repository with REST does not allow notifications with only user groups When updating an SVN repository using the REST route PUT /svn/{id}, given a notification set only for user groups, we got the following error: "Bad Request: Notification should concern at least one email or one user for path:" Notifications set only for user groups must be allowed in the REST route (the same way it's allowed in the SVN administration web UI). Change-Id: I5633b203826b112625730bc5c25f51251cf2d55d

Modified Files

Name
M plugins/svn/include/REST/v1/SettingsRepresentationValidator.php +2 −2 Go to diff View file
M plugins/svn/tests/rest/SVN/RepositoryTest.php +17 −2 Go to diff View file
M plugins/svn/tests/unit/REST_Backend/SettingsRepresentationValidatorTest.php +24 −3 Go to diff View file