Conflict ERROR Exception missing docId (upon create)
hepiyellow opened this issue · 0 comments
hepiyellow commented
In StdResponseHandler, when there is a CONFLICT status,
it would be helpful to get the docId in the thrown UpdateConflictException.
It is possible to take the docId from the requestURI.
To get the docId in a more clean manner, I think that in
StdCouchDbConnector.create()
You should create a new StdResponseHandler initialized with docId (like you do in StdCouchDbConnector.create update()), instead of using the generic revisionHandler which is unaware of the docId.