On the left navigation under "My maps" there are the default and custom maps. When the Maps application is first started, then the default map is highlighted as active. Deactivating it with a click works.
But re-activating the default map or activating other custom maps does not work. Despite clicking on them, they do not get highlighted as active.
It should be possible to activate custom maps.
{"reqId":"FFF7ryacQESgYvqmT4F2","level":2,"time":"2026-08-18T12:31:58+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"GET","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]}
{"reqId":"FFF7ryacQESgYvqmT4F2","level":2,"time":"2026-08-18T12:31:58+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"GET","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]}
{"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"POST","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]}
{"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"POST","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]}
{"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"PHP","method":"POST","url":"/","scriptName":"/index.php","message":"Undefined array key \"passwordsalt\" at /var/www/html/lib/private/Setup.php#374","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":{"app":"PHP"}}
{"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"PHP","method":"POST","url":"/","scriptName":"/index.php","message":"Undefined array key \"secret\" at /var/www/html/lib/private/Setup.php#375","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":{"app":"PHP"}}
{"reqId":"OrbCm3VJrAqDiHHdeeqi","level":3,"time":"2026-08-18T12:52:05+00:00","remoteAddr":"10.89.1.5","user":"cnp","app":"index","method":"GET","url":"/apps/maps/m/noIcon","scriptName":"/index.php","message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"34.0.3.2","exception":{"Exception":"Exception","Message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Maps\\Controller\\PageController","indexMyMap",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"maps.page.indexmymap","myMapId":"noIcon"}]},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/maps/m/noIcon"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Call to a member function getMimetype() on null","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/maps/lib/Controller/PageController.php","line":71,"function":"getMyMap","class":"OCA\\Maps\\Service\\MyMapsService","type":"->","args":[0,"cnp"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":165,"function":"indexMyMap","class":"OCA\\Maps\\Controller\\PageController","type":"->","args":[0,{"__class__":"OCA\\Maps\\Service\\MyMapsService"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":78,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Maps\\Controller\\PageController","indexMyMap",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"maps.page.indexmymap","myMapId":"noIcon"}]},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/maps/m/noIcon"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php","Line":161},"message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","exception":"{\"class\":\"Exception\",\"message\":\"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161\",\"code\":0,\"file\":\"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php:110\",\"trace\":\"#0 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#1 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main('OCA\\\\Maps\\\\Contro...', 'indexMyMap', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#2 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match('/apps/maps/m/no...')\\n#3 /var/www/html/index.php(25): OC::handleRequest()\\n#4 {main}\",\"previous\":{\"class\":\"Error\",\"message\":\"Call to a member function getMimetype() on null\",\"code\":0,\"file\":\"/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php:161\",\"trace\":\"#0 /var/www/html/custom_apps/maps/lib/Controller/PageController.php(71): OCA\\Maps\\Service\\MyMapsService->getMyMap(0, 'cnp')\\n#1 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Maps\\Controller\\PageController->indexMyMap(0, Object(OCA\\Maps\\Service\\MyMapsService))\\n#2 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#3 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#4 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main('OCA\\\\Maps\\\\Contro...', 'indexMyMap', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#5 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match('/apps/maps/m/no...')\\n#6 /var/www/html/index.php(25): OC::handleRequest()\\n#7 {main}\"}}","CustomMessage":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161"}}
Bug description
On the left navigation under "My maps" there are the default and custom maps. When the Maps application is first started, then the default map is highlighted as active. Deactivating it with a click works.
But re-activating the default map or activating other custom maps does not work. Despite clicking on them, they do not get highlighted as active.
Steps to reproduce
See video:
2026-08-18_15-37-17.mp4
Expected behavior
It should be possible to activate custom maps.
Installation method
I tested this with two new local Nextcloud 34 instances:
Operating system
None
PHP engine version
None
Web server
None
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install of the server?
Fresh Nextcloud Server install
Is this bug present after an update or on a fresh install of the app?
Fresh Nextcloud Maps install (never installed before)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{ "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "upgrade.disable-web": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost:8080" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "34.0.3.2", "overwrite.cli.url": "http:\/\/localhost:8080", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
{"reqId":"FFF7ryacQESgYvqmT4F2","level":2,"time":"2026-08-18T12:31:58+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"GET","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]} {"reqId":"FFF7ryacQESgYvqmT4F2","level":2,"time":"2026-08-18T12:31:58+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"GET","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]} {"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"POST","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]} {"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"no app in context","method":"POST","url":"/","scriptName":"/index.php","message":"Host localhost was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":[]} {"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"PHP","method":"POST","url":"/","scriptName":"/index.php","message":"Undefined array key \"passwordsalt\" at /var/www/html/lib/private/Setup.php#374","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":{"app":"PHP"}} {"reqId":"48R6CL6kH7QbiN4mFAhN","level":2,"time":"2026-08-18T12:32:04+00:00","remoteAddr":"10.89.1.5","user":"--","app":"PHP","method":"POST","url":"/","scriptName":"/index.php","message":"Undefined array key \"secret\" at /var/www/html/lib/private/Setup.php#375","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"","data":{"app":"PHP"}} {"reqId":"OrbCm3VJrAqDiHHdeeqi","level":3,"time":"2026-08-18T12:52:05+00:00","remoteAddr":"10.89.1.5","user":"cnp","app":"index","method":"GET","url":"/apps/maps/m/noIcon","scriptName":"/index.php","message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0","version":"34.0.3.2","exception":{"Exception":"Exception","Message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Maps\\Controller\\PageController","indexMyMap",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"maps.page.indexmymap","myMapId":"noIcon"}]},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/maps/m/noIcon"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Call to a member function getMimetype() on null","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/maps/lib/Controller/PageController.php","line":71,"function":"getMyMap","class":"OCA\\Maps\\Service\\MyMapsService","type":"->","args":[0,"cnp"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":165,"function":"indexMyMap","class":"OCA\\Maps\\Controller\\PageController","type":"->","args":[0,{"__class__":"OCA\\Maps\\Service\\MyMapsService"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":78,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Maps\\Controller\\PageController"},"indexMyMap"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":324,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Maps\\Controller\\PageController","indexMyMap",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"maps.page.indexmymap","myMapId":"noIcon"}]},{"file":"/var/www/html/lib/base.php","line":1172,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/maps/m/noIcon"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php","Line":161},"message":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161","exception":"{\"class\":\"Exception\",\"message\":\"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161\",\"code\":0,\"file\":\"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php:110\",\"trace\":\"#0 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#1 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main('OCA\\\\Maps\\\\Contro...', 'indexMyMap', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#2 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match('/apps/maps/m/no...')\\n#3 /var/www/html/index.php(25): OC::handleRequest()\\n#4 {main}\",\"previous\":{\"class\":\"Error\",\"message\":\"Call to a member function getMimetype() on null\",\"code\":0,\"file\":\"/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php:161\",\"trace\":\"#0 /var/www/html/custom_apps/maps/lib/Controller/PageController.php(71): OCA\\Maps\\Service\\MyMapsService->getMyMap(0, 'cnp')\\n#1 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Maps\\Controller\\PageController->indexMyMap(0, Object(OCA\\Maps\\Service\\MyMapsService))\\n#2 /var/www/html/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#3 /var/www/html/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Maps\\Controller\\PageController), 'indexMyMap')\\n#4 /var/www/html/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main('OCA\\\\Maps\\\\Contro...', 'indexMyMap', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\\n#5 /var/www/html/lib/base.php(1172): OC\\Route\\Router->match('/apps/maps/m/no...')\\n#6 /var/www/html/index.php(25): OC::handleRequest()\\n#7 {main}\"}}","CustomMessage":"Call to a member function getMimetype() on null in file '/var/www/html/custom_apps/maps/lib/Service/MyMapsService.php' line 161"}}Browser Console
Additional info
No response