From 02e28f3d375ffe4eb0bcdf8cd80444080deeed8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 9 Dec 2020 00:23:03 +0100 Subject: [PATCH] Continued: - added noisy debug line - fixed "NPE" as $csvFileInstance was unset before - updated core framework MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../classes/source/urls/class_CrawlerUploadedListUrlSource.php | 3 ++- core | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php b/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php index b11bf5771..a839a8821 100644 --- a/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php +++ b/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php @@ -308,10 +308,11 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: csvData[%s]=%s', gettype($csvData), print_r($csvData, TRUE))); if (count($csvData) == 0) { // Try to close it by actually unsetting (destructing) it + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read.', $csvFileInstance->getFilename())); unset($csvFileInstance); // This file as been fully read, so don't push it back on stack. - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read. - EXIT!', $csvFileInstance->getFilename())); + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('CRAWLER-UPLOADED-LIST-URL-SOURCE: EXIT!'); return; } diff --git a/core b/core index fc83e6b1a..da760e51c 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit fc83e6b1ac6fe3a5e09a3e4f8bad20fa2240cae4 +Subproject commit da760e51cadd942ec2f28fc7ceaf3b2ccaf65f47 -- 2.39.5