Opened a new JIRA issue: https://jira.springsource.org/browse/DATADOC-134
Type: Posts; User: harinair; Keyword(s):
Opened a new JIRA issue: https://jira.springsource.org/browse/DATADOC-134
Good thinking but I don't think it is the reason. The code you provided seems to be obsolete, so I added this:
mongoTemplate.execute("publicfeed",new CollectionCallback<PublicFeed>() {
...
I reopened the same issue you referred since the fix was not complete: https://jira.springsource.org/browse/DATADOC-70
Hari Gangadharan
Sorry I did not explain my test properly. In my test setup I am saving two objects one with linkId: "some-id-for" and another with linkId: "some-id-other". In the current test I am retrieving the...
Here is my test:
@Test
public void addDups() {
log.info("Test Add Dups.....");
PublicFeed hariFeed = repository.findByLinkId("some-id-for");
...
I am using M2 - I did more tests. The record seems to be saved - it even generates a new Object Id. No exception is thrown. But the record is really not saved.
Any help is greatly appreciated.
...
I also see the same issue. For me the object gets saved and then I cannot do any more operations due to the "E11000" error. Any others see the same issue? Or could you fix this?
Hari Gangadharan
Everyone has asked me about this - A while back I have written an article on this. This is an old post but if this helps someone. Here is the link:...