Skip to content

Commit

Permalink
Merge branch 'release-47.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 5, 2023
2 parents 57e9815 + 3286ae4 commit cbe9ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/classes/class.QtiTestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

use League\Flysystem\FileExistsException;
use oat\generis\model\data\event\ResourceCreated;
use oat\oatbox\filesystem\Directory;
use oat\oatbox\filesystem\File;
use oat\oatbox\filesystem\FileSystemService;
Expand Down Expand Up @@ -853,6 +854,7 @@ protected function importTest(
$msg = __("IMS QTI Test referenced as \"%s\" in the IMS Manifest file successfully imported.", $qtiTestResource->getIdentifier());
// phpcs:enable Generic.Files.LineLength
$report->setMessage($msg);
$this->getEventManager()->trigger(new ResourceCreated($testResource));
} else {
$report->setType(common_report_Report::TYPE_ERROR);
// phpcs:disable Generic.Files.LineLength
Expand Down

0 comments on commit cbe9ffa

Please sign in to comment.