Re: [MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/test/test001.json"

2016-09-21 Thread Rob Szkutak
What happens before the return?

That error essentially means that you're trying to update the same document 
twice.

Best,
Rob

Rob Szkutak
Senior Consultant
MarkLogic Corporation
rob.szku...@marklogic.com
www.marklogic.com<http://www.marklogic.com>


From: general-boun...@developer.marklogic.com 
[general-boun...@developer.marklogic.com] on behalf of Shiv Shankar 
[shiv.shivshan...@gmail.com]
Sent: Wednesday, September 21, 2016 9:54 AM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: 
xdmp:document-insert("/test/test001.json"

Hi,
I'm keep getting this below error. Any thoughts.

[1.0-ml] XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/mmis/test001.json"
my code is :
return  xdmp:invoke-function(
  function() {dls:document-insert-and-manage("/mmis/test001.json", 
fn:true(),$contents,(),(),"TEST-COLLECTION"), xdmp:commit() },
update
  );
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Error XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/test/test001.json"

2016-09-21 Thread Shiv Shankar
Hi,
I'm keep getting this below error. Any thoughts.

[1.0-ml] XDMP-CONFLICTINGUPDATES: xdmp:document-insert("/mmis/test001.json"
my code is :
return  xdmp:invoke-function(
  function() {dls:document-insert-and-manage("/mmis/test001.json",
fn:true(),$contents,(),(),"TEST-COLLECTION"), xdmp:commit() },
update
  );
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general