nextcloud / nextcloud/files_mindmap
cannot open the activity app after editing/opening a mindmap
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 197
- Forks
- 52
- Avg merge
- 22h 14m
- Merged PRs (30d)
- 13
Description
I am currently on v20, NC 18.0.2, Ubuntu 18.04, PHP 7.2
After opening/editing a mindmap I cannot open the activity app with this user.
To reproduce:
- install mindmap v20
- open/edit a mindmap
- close and save
- try to open the activity app
- See a never ending spinning wheel
expected:
I shouldn't see this spinning wheel but instead the activity stream.
These errors are in the logs:
1.
[PHP] Error: copy(/var/www/nextcloud/core/img/filetypes/mindmap.svg): failed to open stream: Permission denied at /var/www/nextcloud/apps/files_mindmap/lib/Migration/InstallStep.php#41
POST /settings/apps/enable
from 87.123.148.145 by admin at 2020-03-17T21:26:25+01:00
2.
[PHP] Error: file_put_contents(/var/www/nextcloud/core/js/mimetypelist.js): failed to open stream: Permission denied at /var/www/nextcloud/core/Command/Maintenance/Mimetype/UpdateJS.php#57
POST /settings/apps/enable
from 87.123.148.145 by admin at 2020-03-17T21:26:25+01:00
3.
[no app in context] Error: Exception: substr() expects parameter 3 to be integer, boolean given at <>
- /var/www/nextcloud/lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Activity\Controller\APIv2 {}, "getFilter") - /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("APIv2Controller", "getFilter", OC\AppFramework\ ... {}, {filter: "all",_ ... "}) - <>
OC\AppFramework\Routing\RouteActionHandler->_invoke({filter: "all", ... "}) - /var/www/nextcloud/lib/private/Route/Router.php line 299
call_user_func(OC\AppFramework\ ... {}, {filter: "all",_ ... "}) - /var/www/nextcloud/ocs/v1.php line 82
OC\Route\Router->match("/ocsapp/apps/ac ... l") - /var/www/nextcloud/ocs/v2.php line 24
require_once("/var/www/nextcloud/ocs/v1.php")
GET /ocs/v2.php/apps/activity/api/v2/activity/all?format=json&previews=true&since=0
from 87.123.148.145 by admin at 2020-03-17T21:28:06+01:00
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the mindmap edit/save flow, then read apps/files_mindmap/lib/Migration/InstallStep.php around line 41 and trace the activity API request shown in the logs. Check the referenced permission errors and substr() failure; done means the activity stream opens after editing a mindmap without the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100