Error when updating a bundle (content pack) #2138
Closed
Comments
joschi
pushed a commit
that referenced
this issue
Apr 26, 2016
The WriteResult returned by JacksonDBCollection doesn't contain the updated object and thus WriteResult#getSavedObject() failed with "No objects to return". The returned WriteResult does contain the number of changed documents, though, so simply comparing that number with the expected number of updated documents suffices as return value of BundleService#update(). Fixes #2138
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
I'm getting the following error when updating a bundle:
{"type":"ApiError","message":"No objects to return"}
And the log shows:
Steps to reproduce the problem
Environment
The text was updated successfully, but these errors were encountered: