-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Hi @ACTom,
I can't open shared links which points directly to a Mindmap file. Opening such links lead to Internal Server errros.
message":"Exception":"TypeError"
"Message":"substr() expects parameter 3 to be int, bool given"
"Code":0
"Trace":{\"file\":\"/var/www/html/nextcloud/lib/private/Files/Type/Detection.php\",\"line\":377,\"function\":\"substr\",\"args\":[\"mindmap\",0,false]},{\"file\":\"/var/www/html/nextcloud/apps/files_sharing/templates/public.php\",\"line\":22,\"function\":\"mimeTypeIcon\",\"class\":\"OC\\\\Files\\\\Type\\\\Detection\",\"type\":\"->\",\"args\":[\"mindmap\"]},{\"file\":\"/var/www/html/nextcloud/lib/private/Template/Base.php\",\"line\":179,\"args\":[\"/var/www/html/nextcloud/apps/files_sharing/templates/public.php\"],\"function\":\"include\"},{\"file\":\"/var/www/html/nextcloud/lib/private/Template/Base.php\",\"line\":151,\"function\":\"load\",\"class\":\"OC\\\\Template\\\\Base\"
...
I think the mime type detection doesn't work well in 0.0.22 with Nextcloud 18.0.6
I didn't get this error with NC 19.
Can you please fix this?
Kind regards
Timm
Metadata
Metadata
Assignees
Labels
No labels