Hi,
Somehow I've ended up with two triggers having the same name and
content (although different IDs) and am now unable to remove them (see
error message below); any idea how to remove them anyway?
thanks,
Jakob.
query evaluated in test-db at test-db:/ as 0.9-ml (cq v4.1-6)
[0.9-ml] XDMP-AS: (err:XPTY0004) get-trigger($trigger-name) -- Invalid
coercion:
(fn:doc("http://marklogic.com/xdmp/triggers/796244929914091878")/trgr:trigger,
fn:doc("http://marklogic.com/xdmp/triggers/2069174680133843641")/trgr:trigger)
as element(trgr:trigger)
Stack trace:
in /MarkLogic/triggers.xqy line 536:
get-trigger("trgr-move-incoming-document")
$trigger-name := "trgr-move-incoming-document"
in /MarkLogic/triggers.xqy line 956:
trgr:remove-trigger("trgr-move-incoming-document")
$trigger-name := "trgr-move-incoming-document"
line 9:
7:
8: :)
9: trgr:remove-trigger("trgr-move-incoming-document")
xdmp:eval("xquery version "1.0-ml"; (: buffer 5
:) &...", (), <options
xmlns="xdmp:eval"><database>2044008717468543806</database><modules>204400871746854...</options>)
in /cq/eval.xqy line 111:
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general