-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument #2 ($path) must be of type string, null given #3169
Comments
The trace doesn't look too specific to richdocuments. It looks a bit like https://github.com/nextcloud/server/blob/cec0b310a5af84d5afae4afa2449840dcdca56be/apps/files_versions/lib/Listener/FileEventsListener.php#L202 is called with an empty path for some reason. |
Wondering if nextcloud/groupfolders#2543 might be related/needed for 27.1 |
Hm, right, I didn't even notice that.
|
Ah, just found a server issue about this, sounds like the same problem: nextcloud/server#40090 |
Hi. does this help to track it down?
|
Hi @juliushaertl In the mobile-editing case, the $path is "null", since the $node is the $node of the file-owner. Thus the truncation to a relativepath fails, since In the web-editing case, everything works out. the $node is the $node of the editor, not the file-owner. |
This looks like #2896. |
When I disable the version app, the problem is solved for me. |
I have disabled the files_version app since the error occurred, so not sure. From my gut feeling I would say "no", as otherwise this or the server issue would have been referenced, but of course it's always possible it was fixed as a side effect of some other change. |
Fixed for me with the latest NC version, I actived the version App again. |
Describe the bug
When opening a file via the iOS Files app on an iPad and edit something, I am unable to save the changes. When closing the document and opening it again it's still the old state.
To Reproduce
Steps to reproduce the behavior:
Please note: The file that was tried to edit is on a groupfolder and was then shared to a user (not sure if relevant). So
User1 -> Groupfolder1 -> File1
User1 shares File1 to User2
User2 tries to edit File1
Expected behavior
The changes should be saved, but they're not (or not always? not sure). Log see below.
When I tested it again, it worked. But I can see the exception regularly in my log.
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
Server details
Operating system: Debian 11.7
Web server: Apache
Database: MySQL
PHP version: 8.2.8
Nextcloud version: 27.1.0 RC 1
Version of the richdocuments app 8.1.1
Version of Collabora Online Coolwsd version details: 23.05.3.1 - a719c0f - id 176fd4c0 - on Debian GNU/Linux 12 (bookworm)
Logs
Nextcloud log (data/nextcloud.log)
Collabora log
The text was updated successfully, but these errors were encountered: