CarnetApp/CarnetNextcloud

Conflict with ebook reader 1.5.3 app

edgeofthex opened this issue · 1 comments

Please report every bug related to the Android application here
https://github.com/PhieF/CarnetAndroid/

Describe the bug
When I enable the Ebook Reader version 1.5.3 app, then try to create a new note in Carnet, I get blank note that I cant add any text to, with an error message at the bottom of the page stating " An error occured, please save your text and check it is not open in another tab". when I exit, there is a blank note created.

To Reproduce
Steps to reproduce the behavior:

  1. enable carnet
  2. enable files reader 1.5.3
  3. attempt to create new note or edit existing note
  4. cannot edit notes
    Expected behavior
    I would expect to be able to enable files reader 1.5.3 and be able to open and edit notes in Carnet

Server Debian 11
Nextcloud version 25.0.3
Carnet version 24.6
ebook reader 1.5.3

When creating new note, the following error shows in my nextcloud.log:

{"reqId":"jGAbkNwQtPphirSOLNcD","level":3,"time":"2023-01-30T17:49:15+00:00","remoteAddr":"192.168.1.1","user":"madmax","app":"index","method":"GET","url":"/apps/carnet/note/extract?path=Group%20Conscience%20agenda.sqd&id=63d8031b0c505","message":"OCA\Files_Reader\Hooks::OCA\Files_Reader\{closure}(): Argument #1 ($node) must be of type OCA\Files_Reader\Node, OC\Files\Node\Folder given in file '/var/www/nextcloud/apps/files_reader/lib/Hooks.php' line 18","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"25.0.3.2","exception":{"Exception":"Exception","Message":"OCA\Files_Reader\Hooks::OCA\Files_Reader\{closure}(): Argument #1 ($node) must be of type OCA\Files_Reader\Node, OC\Files\Node\Folder given in file '/var/www/nextcloud/apps/files_reader/lib/Hooks.php' line 18","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"OCA\Files_Reader\Hooks::OCA\Files_Reader\{closure}(): Argument #1 ($node) must be of type OCA\Files_Reader\Node, OC\Files\Node\Folder given","Code":0,"Trace":[{"function":"OCA\Files_Reader\{closure}","class":"OCA\Files_Reader\Hooks","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php","line":106,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\Hooks\BasicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Root.php","line":143,"function":"emit","class":"OC\Hooks\PublicEmitter","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Node.php","line":123,"function":"emit","class":"OC\Files\Node\Root","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":389,"function":"sendHooks","class":"OC\Files\Node\Node","type":"->"},{"file":"/var/www/nextcloud/apps/carnet/lib/Controller/NoteController.php","line":1196,"function":"delete","class":"OC\Files\Node\Folder","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"extractNote","class":"OCA\Carnet\Controller\NoteController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1047,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/files_reader/lib/Hooks.php","Line":18},"CustomMessage":"--"}}

screenshot-marcloud org-2023 01 30-13_10_32

manuth commented

Also seems to conflict with the most recent Music version:

  • Nextcloud Version: v27.0.0
  • owncloud/music: v1.8.4