]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7383 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Mar 2025 15:36:10 +0000 (16:36 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Mar 2025 15:36:10 +0000 (16:36 +0100)
app/Fluidbook/Compiler/Compiler.php

index 04bffdc845bfc98715bc97b7e4e26726186adb2a..fa258d199c810fa5b8e54d4ee0f9fa43a9176cd3 100644 (file)
@@ -2655,6 +2655,9 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
 
     public function handleVirtualDirectoryError($message)
     {
+        foreach ($this->getFluidbook()->getDocumentsId() as $id) {
+            \Illuminate\Support\Facades\Cache::tags('fluidbook_document_' . $id)->flush();
+        }
         $this->addIssue(FluidbookHealthIssues::TYPE_COMPILE_FILES, ['error' => $message]);
     }