nextcloud / nextcloud/files_mindmap

Unable to open mindmaps dot km files

Open
#180 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
197
Forks
52
Avg merge
22h 14m
Merged PRs (30d)
13

Description

Hi,

I have already been using the mindmap app for sometime now - Today when I opened the mind maps - I see a blank dashboard with the following alert -

“The file is not a valid mind map file and may cause file corruption if you continue editing.”

If I go to Administration Settings → Logging and check the log - I see the following error messages -

`[no app in context] Error: InvalidArgumentException: Dashboard widget with this id has already been registered at <>

/var/www/nextcloud/lib/private/Dashboard/Manager.php line 94
OC\Dashboard\Manager->registerWidget()
/var/www/nextcloud/lib/private/Dashboard/Manager.php line 131
OC\Dashboard\Manager->loadLazyPanels()
/var/www/nextcloud/apps/dashboard/lib/Controller/DashboardController.php line 101
OC\Dashboard\Manager->getWidgets()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\Dashboard\Controller\DashboardController->index()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php line 298
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php line 1047
OC\Route\Router->match()
/var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /apps/dashboard/
from 127.0.0.1 by cerulean at 2022-12-24T13:21:02+00:00`

Also I get the following issue -

`[no app in context] Error: Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.

PROPFIND /remote.php/dav/versions/cerulean/versions/35534
from 127.0.0.1 by cerulean at 2022-12-24T13:06:21+00:00`

{“reqId”:“w3cxRTpMjiUV1jIVl6vC”,“level”:3,“time”:“2022-12-24T13:06:21+00:00”,“remoteAddr”:“127.0.0.1”,“user”:“cerulean”,“app”:“no app in context”,“method”:“PROPFIND”,“url”:“/remote.php/dav/versions/cerulean/versions/35534”,“message”:“Cannot decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“25.0.2.3”,“data”:,“id”:“63a6fe05ec526”}

Can someone please help me resolve this ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the blank dashboard and invalid mind-map warning, then inspect the reported Dashboard/Manager.php line 94 and dashboard DashboardController.php line 101 paths. Compare this with the PROPFIND decryption error for versions/35534; done should identify the cause of the failed file opening and verify that the affected .km file opens without either error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.