CollaboraOnline / richdocumentscode

Built-in CODE Server app
https://apps.nextcloud.com/apps/richdocumentscode
Apache License 2.0
117 stars 27 forks source link

Exception: Could not find urlsrc in WOPI #274

Closed fredleroy closed 3 months ago

fredleroy commented 3 months ago

Hello,

after updating to version 24.4.402 using office version 8.0.10 on a nextcloud Murena Cloud 26.0.8

I get the following error when trying to open office documents :

Erreur richdocuments Exception: Could not find urlsrc in WOPI

/var/www/html/custom_apps/richdocuments/lib/TokenManager.php - line 207:

OCA\Richdocuments\WOPI\Parser->getUrlSrc("text/csv")

/var/www/html/custom_apps/richdocuments/lib/Controller/DocumentController.php - line 172:

OCA\Richdocuments\TokenManager->getToken("*** sensiti ... *")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 230:

OCA\Richdocuments\Controller\DocumentController->index("*** sensiti ... *", "/Documents/examplecsv")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 137:

OC\AppFramework\Http\Dispatcher->executeController([ "OCA\\Rich ... "], "index")

/var/www/html/lib/private/AppFramework/App.php - line 183:

OC\AppFramework\Http\Dispatcher->dispatch([ "OCA\\Rich ... "], "index")

/var/www/html/lib/private/Route/Router.php - line 315:

OC\AppFramework\App::main("OCA\\Richdo ... r", "index", [ "OC\\AppFr ... "], [ "richdocum ... "])

/var/www/html/lib/base.php - line 1062:

OC\Route\Router->match("/apps/richdocuments/index")

/var/www/html/index.php - line 36:

OC::handleRequest()

Do you have any clue on what could be the root cause of this error ?

fredleroy commented 3 months ago

Hum, bug disappeared. Closing the issue, sorry about that