From 47b54f6a169513fdcd92080cf021c2224cdacd2d Mon Sep 17 00:00:00 2001 From: "Infineon\\Ouellette" Date: Sun, 17 Aug 2025 17:51:09 -0700 Subject: [PATCH] Had an instance of an RDS being deleted. Looking into root cause. Interim fix including blocking ALL RDS deletions. --- LSL2/STPROC/RDS_ACTIONS.txt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/LSL2/STPROC/RDS_ACTIONS.txt b/LSL2/STPROC/RDS_ACTIONS.txt index 3d82bda..ad62524 100644 --- a/LSL2/STPROC/RDS_ACTIONS.txt +++ b/LSL2/STPROC/RDS_ACTIONS.txt @@ -622,7 +622,7 @@ READONLY_RECORD: return WRITE_RECORD_PRE: - + StartTick = GetTickCount() MetricName = 'WriteRecordPre' @@ -923,11 +923,23 @@ DELETE_RECORD_PRE: LogData<3> = Name LogData<4> = Notes Logging_Services('AppendLog', objLog, LogData, @RM, @FM) - + ActionFlow = ACTION_STOP$ + return DELETE_RECORD: + + Notes = RetStack() + Swap @FM with ' | ' in Notes + LogData = '' + LogData<1> = LoggingDTM + LogData<2> = @User4 + LogData<3> = Name + LogData<4> = Notes + Logging_Services('AppendLog', objLog, LogData, @RM, @FM) + ActionFlow = ACTION_STOP$ + return @@ -990,3 +1002,4 @@ Restore_System_Variables: return +