Skip to content

Media that contains null in id can't be added into playlist #13870

@kachaj7

Description

@kachaj7

alpha/apps/kaltura/lib/myPlaylistUtils.class.php

Method: validatePlaylist

contains

// TODO - hack for removing 'null' from the entry id due to a bug on the client's side
$trimmed = preg_replace ( "/null/" , "" , trim ( $entry_id ) );
if ($trimmed)
{
	$fixed_playlist[] = $trimmed;
	self::validatePlaylistInnerEntry($trimmed);
}

validatePlaylistInnerEntry - method throws exception, because id not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions