Details
-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
7.6.2
-
Enterprise Edition 7.6.2 build 3680
-
Untriaged
-
Linux x86_64
-
0
-
Unknown
Description
Eventing meta data is only visible in the UI for source bucket mutations in xattrs. These fields are missing if the bucket bindings are to a different bucket while performing xattr operations. PFA the images of both the documents.
function OnUpdate(doc, meta, xattrs) { function OnUpdate(doc, meta, xattrs) {
|
var meta = {"id": meta.id}; |
couchbase.insert(dst_bucket, meta, doc);
|
couchbase.mutateIn(src_bucket, meta,[couchbase.MutateInSpec.upsert("path",1 , { "xattrs": true })]); |
couchbase.mutateIn(dst_bucket, meta, [couchbase.MutateInSpec.upsert("path",1 , { "xattrs": true })]); |
}
|
|
function OnDelete(meta, options) {
|
log("Doc deleted/expired", meta.id); |
}
|