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

Matthew Swift
14.10.2013 440d0439d1555479f601a5ac86ae635fa2b8701f
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
commit440d0439d1555479f601a5ac86ae635fa2b8701f
tree 2549079c0147344f73faeb0138e2cdfed29329d5 tree | zip | gz
parent f38881bd757d7a30857ae4e12bbdc7b81338b6bf 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
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/LDAPCollectionResourceProvider.java 28 ●●●● diff | view | raw | blame | history