@@ -222,32 +222,22 @@ public function toObject($dbObject = null, $skip = array())
222222 $ dbObject = new DropFolder ();
223223 $ this ->trimStringProperties (array ('path ' ));
224224
225- // DEBUG: Log all property values to see what's coming in
226- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: === ENTRY POINT === Class: " . get_class ($ this ));
227- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: fileSizeCheckInterval = " . var_export ($ this ->fileSizeCheckInterval , true ));
228- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: fileProcessingGracePeriod = " . var_export ($ this ->fileProcessingGracePeriod , true ));
229- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: autoFileDeleteDays = " . var_export ($ this ->autoFileDeleteDays , true ));
230-
231225 // Set fileProcessingGracePeriod BEFORE calling parent to preserve user value
232226 // (parent may not recognize this property due to reflection cache)
233227 $ fileProcessingGracePeriodValue = $ this ->fileProcessingGracePeriod ;
234- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: fileProcessingGracePeriod stored in variable = " . var_export ($ fileProcessingGracePeriodValue , true ) . " (type: " . gettype ($ fileProcessingGracePeriodValue ) . ") " );
235228
236229 // Convert to integer if it's a numeric string
237230 if (is_string ($ fileProcessingGracePeriodValue ) && is_numeric ($ fileProcessingGracePeriodValue )) {
238231 $ fileProcessingGracePeriodValue = (int )$ fileProcessingGracePeriodValue ;
239- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: Converted string to int: " . $ fileProcessingGracePeriodValue );
240232 }
241233
242234 // Set default if empty
243235 if (is_null ($ fileProcessingGracePeriodValue ) || $ fileProcessingGracePeriodValue === '' || $ fileProcessingGracePeriodValue === 0 ) {
244236 $ fileProcessingGracePeriodValue = DropFolder::FILE_PROCESSING_GRACE_PERIOD_DEFAULT_VALUE ;
245- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: Value was empty, set to default: " . $ fileProcessingGracePeriodValue );
246237 }
247238
248239 // Validate maximum value
249240 if ($ fileProcessingGracePeriodValue > DropFolder::FILE_PROCESSING_GRACE_PERIOD_MAX_VALUE ) {
250- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: Value " . $ fileProcessingGracePeriodValue . " exceeds maximum " . DropFolder::FILE_PROCESSING_GRACE_PERIOD_MAX_VALUE . ", throwing exception " );
251241 throw new KalturaAPIException (KalturaErrors::INVALID_FIELD_VALUE , 'fileProcessingGracePeriod ' );
252242 }
253243
@@ -256,7 +246,6 @@ public function toObject($dbObject = null, $skip = array())
256246 // Explicitly set fileProcessingGracePeriod to ensure it's saved
257247 if (!is_null ($ fileProcessingGracePeriodValue ) && !in_array ('fileProcessingGracePeriod ' , $ skip ))
258248 {
259- KalturaLog::debug ("DROP FOLDER TOOBJECT DEBUG: Calling setFileProcessingGracePeriod with " . $ fileProcessingGracePeriodValue );
260249 $ dbObject ->setFileProcessingGracePeriod ($ fileProcessingGracePeriodValue );
261250 }
262251
0 commit comments