Skip to content

Commit d5698d4

Browse files
committed
exmdb: trigger fnevObjectCreated for 1S-processed OP_COPY rules
Repair a longstanding issue where an OP_COPY rule in the classic rule processor would not trigger an event for the target folder. Fixes: gromox-0~666 References: GXL-154
1 parent 23af7a1 commit d5698d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exch/exmdb/message.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2938,6 +2938,7 @@ static ec_error_t op_move_same(const rulexec_in &rp,
29382938
if (!cu_adjust_store_size(rp.sqlite, ADJ_INCREASE, message_size, 0))
29392939
return ecError;
29402940
seen.fld.emplace_back(dst_fid);
2941+
seen.msg.emplace_back(dst_fid, dst_mid);
29412942

29422943
rulexec_in rex = rp;
29432944
char *pmid_string = nullptr;
@@ -3295,6 +3296,7 @@ static ec_error_t opx_move(const rulexec_in &rp,
32953296
if (!cu_adjust_store_size(rp.sqlite, ADJ_INCREASE, message_size, 0))
32963297
return ecError;
32973298
seen.fld.emplace_back(dst_fid);
3299+
seen.msg.emplace_back(dst_fid, dst_mid);
32983300

32993301
rulexec_in rex = rp;
33003302
char *pmid_string = nullptr;

0 commit comments

Comments
 (0)