From 2a406456041a1c1eb602b06d248a73f702bb325a Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 19 Aug 2021 16:33:04 +0200 Subject: [PATCH] Pass the filename, not the id. --- src/Bundle/ChillWopiBundle/src/Controller/Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillWopiBundle/src/Controller/Test.php b/src/Bundle/ChillWopiBundle/src/Controller/Test.php index 9efe48dad..db035c428 100644 --- a/src/Bundle/ChillWopiBundle/src/Controller/Test.php +++ b/src/Bundle/ChillWopiBundle/src/Controller/Test.php @@ -82,7 +82,7 @@ final class Test ->generate( 'checkFileInfo', [ - 'fileId' => $storedObject->getId(), + 'fileId' => $storedObject->getFilename(), ], UrlGeneratorInterface::ABSOLUTE_URL ),