diff --git a/CHANGELOG.md b/CHANGELOG.md index 572541c9c..668b9d275 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [1.9.1p10] +- Source synching gives an error on expired surveys in a newly attached source (#750) + ## [1.9.1p9] ### Fixed - Activity search snippet shows result when non should be there (#736) diff --git a/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php b/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php index 2314bdc83..769616a24 100644 --- a/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php +++ b/classes/Gems/Tracker/Source/LimeSurvey1m9Database.php @@ -690,6 +690,7 @@ public function checkSurvey($sourceSurveyId, $surveyId, $userId) $messages[] = sprintf($this->_('Imported the \'%s\' survey.'), $surveyor_title); } else { $messages[] = sprintf($this->_('Skipped the \'%s\' survey because it has an expiry date.'), $surveyor_title); + return $messages; } } $survey->saveSurvey($values, $userId); diff --git a/classes/Gems/Versions.php b/classes/Gems/Versions.php index 14e7e35ee..2f296489f 100644 --- a/classes/Gems/Versions.php +++ b/classes/Gems/Versions.php @@ -44,7 +44,7 @@ public final function getBuild() */ public final function getGemsVersion() { - return '1.9.1p8'; + return '1.9.1p10'; } /**