Skip to content

Commit

Permalink
Merge pull request kaltura#5603 from kaltura/Lynx-12.17.0-PLAT-7436-A
Browse files Browse the repository at this point in the history
view history - check profile existance
  • Loading branch information
shpiNi authored May 28, 2017
2 parents a2f810d + 22b1886 commit 834a840
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/bulk_upload/xml/lib/kBulkUploadXmlFlowManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ public function updatedJob(BatchJob $dbBatchJob)
KalturaLog::debug("Handling finished ExtractMedia job!");

$profile = myPartnerUtils::getConversionProfile2ForEntry($dbBatchJob->getEntryId());
if(is_null($profile))
{
KalturaLog::err("no profile found for entry " . $dbBatchJob->getEntryId());
return true;
}
$mediaInfoXslt = $profile->getMediaInfoXslTransformation();
if (!$mediaInfoXslt)
{
Expand Down

0 comments on commit 834a840

Please sign in to comment.