mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
05.41.2013 df38eb2ff437f173ad2adf208da699393e2bee8c
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, July 5, 2013 23:41 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, July 5, 2013 23:41 +0200
commitdf38eb2ff437f173ad2adf208da699393e2bee8c
tree ca903c3bdde5cb15c973b36dea9424ff633f07aa tree | zip | gz
parent ed5dfc5f11345e271b32d6087219aa8c5508c116 view | diff
Fix OPENDJ-1044: Doing a PUT with JSON data identical to what is on the server results in 400 status code

* avoid performing modify operations when a PUT or PATCH is determined to be a no-op
* add unit tests which check that no modify request is sent.
3 files modified
500 ■■■■■ changed files
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/LDAPCollectionResourceProvider.java 199 ●●●●● diff | view | raw | blame | history
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Utils.java 6 ●●●● diff | view | raw | blame | history
opendj3/opendj-rest2ldap/src/test/java/org/forgerock/opendj/rest2ldap/BasicRequestsTest.java 295 ●●●●● diff | view | raw | blame | history