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

Matthew Swift
14.10.2013 1f5f947ffb9419c9d33ef58a4099ed915da5bf1a
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, June 14, 2013 20:10 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, June 14, 2013 20:10 +0200
commit1f5f947ffb9419c9d33ef58a4099ed915da5bf1a
tree ccc1ac268ada3aa6535ca83c1a526b830d314ec8 tree | zip | gz
parent a11f078db3c6921146373966b9b95fb5c25d4c2c view | diff
Fix OPENDJ-975: REST DELETE fails with HTTP result code 404 but it http-access it is 200

Close the request processing context after invoking the result handlers not before since the handler may need to interact with context before it is closed. In this case closing the context logged result before the handler had a chance to update the internal error state.
1 files modified
28 ■■■■ changed files
opendj-sdk/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/LDAPCollectionResourceProvider.java 28 ●●●● diff | view | raw | blame | history