Closed BlockMen closed 3 years ago
Sry, but #136 does NOT fix my issue. As stated above after applying the correct path variable the public shared file is still not opening:
Instead an error from draw.io is given: Fehler Keine Diagrammdatei which translates to no diagram file found
Also there seems to be an issue with the Nextcloud AppStore: To be sure I removed draw.io App and reinstalled, but patch #136 seems not applied in 0.9.9 via AppStore!?
@BlockMen Eat that, motherfucker:
This is in Minetest now. Have fun with your fork.
First, thanks for your work on this app, its great!
Testing on commit c02cebbe37dfd5a424e017e499a2215ed3fdce5a here my findings:
index | Exception: Call to a member function getRelativePath() on null
Error: Undefined variable: baseFolder at /var/www/nextcloud/apps/drawio/controller/editorcontroller.php#174
Unfortunately i don't know any of the nextcloud API so i just wildguessingly changed L174 to
"drawioFilePath" => rawurlencode($relativePath),
which indeed fixed (?) the issue mentioned above, but does not load the file. Instead an error from draw.io is given:Fehler Keine Diagrammdatei
which translates tono diagram file found
I hope this helps solving the issues as i would love to use Draw.io with shared files :)
Cheers, BlockMen