Non-visible or non public media are included in manifest for an item. I quick fix it including conditional on foreach $medias loop:
(starting at line 213)
foreach ($medias as $media) { if($media->isPublic()){ ... } ....
Thumbnail generation is important, because can reveal hidden media. I fix changing query:
Hi,
I just made a big update (version 3.6.0.beta-4). It requires last versions of modules Image Server, UniversalViewer or Mirador too.
Can you say me if it is fixed?
Non-visible or non public media are included in manifest for an item. I quick fix it including conditional on foreach $medias loop: (starting at line 213)
foreach ($medias as $media) { if($media->isPublic()){ ... } ....
Thumbnail generation is important, because can reveal hidden media. I fix changing query:(original first line 1020)
` $qb = $conn->createQueryBuilder() ->select('media.id') ->from('media', 'media') ->leftJoin('media','resource','resource',
\Doctrine\ORM\Query\Expr\Join::WITH, ??
`