File tree 5 files changed +20
-3
lines changed
Neos.ContentRepository/Classes/Domain/Repository
Neos.Media.Browser/Resources/Private/Translations/nl
5 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ version: 2
7
7
8
8
# Set the version of Python and other tools you might need
9
9
build :
10
- os : ubuntu-20.04
10
+ os : ubuntu-lts-latest
11
11
tools :
12
12
python : " 3.9"
13
13
Original file line number Diff line number Diff line change @@ -1334,6 +1334,7 @@ function (Workspace $workspace) {
1334
1334
}
1335
1335
}
1336
1336
$ dimensionPositions [] = $ workspacePosition ;
1337
+ $ dimensionPositions [] = $ node ->isRemoved () ? PHP_INT_MAX : PHP_INT_MIN ;
1337
1338
1338
1339
$ identifier = $ node ->getIdentifier ();
1339
1340
// Yes, it seems to work comparing arrays that way!
Original file line number Diff line number Diff line change 576
576
<source >This asset might contain malicious content!</source >
577
577
<target state =" translated" >Dit bestand kan kwaadaardige inhoud bevatten!</target >
578
578
</trans-unit >
579
+ <trans-unit id =" assetImport.importInProcess" xml : space =" preserve" >
580
+ <source >Import still in process. Please wait.</source >
581
+ <target state =" translated" >Importeren is nog aan de gang. Even geduld.</target >
582
+ </trans-unit >
583
+ <trans-unit id =" assetImport.importInfo" xml : space =" preserve" >
584
+ <source >Asset is being imported. Please wait.</source >
585
+ <target state =" translated" >Het bestand wordt geïmporteerd. Even geduld.</target >
586
+ </trans-unit >
579
587
</body >
580
588
</file >
581
589
</xliff >
Original file line number Diff line number Diff line change @@ -255,7 +255,15 @@ public function getUriForThumbnail(ImageInterface $thumbnail): string
255
255
{
256
256
$ resource = $ thumbnail ->getResource ();
257
257
if ($ resource ) {
258
- return $ this ->resourceManager ->getPublicPersistentResourceUri ($ resource );
258
+ $ uri = $ this ->resourceManager ->getPublicPersistentResourceUri ($ resource );
259
+ if ($ uri === false ) {
260
+ throw new ThumbnailServiceException (sprintf (
261
+ 'Could not generate URI for resource "%s". ' ,
262
+ $ this ->persistenceManager ->getIdentifierByObject ($ resource )
263
+ ), 1737558490 );
264
+ }
265
+
266
+ return $ uri ;
259
267
}
260
268
261
269
$ staticResource = $ thumbnail ->getStaticResource ();
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ version: 2
7
7
8
8
# Set the version of Python and other tools you might need
9
9
build :
10
- os : ubuntu-20.04
10
+ os : ubuntu-lts-latest
11
11
tools :
12
12
python : " 3.9"
13
13
You can’t perform that action at this time.
0 commit comments