You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[regression] dav properties on non-files are not stored/retrieved properly #29047
@DeepDiver1975apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.php is used in OCA\DAV\Connector\Sabre\ServerFactory with 'webdav' endpoint aka webdav v1
while apps/dav/lib/Files/CustomPropertiesBackend.php is used in OCA\DAV\Server with 'dav' endpoint aka webdav v2
I know - this needs to be cleanup. Properties set via dav need to be retrievable via webdav as well. And vis-versa. I suspect this can all be done in one backend - no need for two.
Activity
VicDeo commentedon Sep 19, 2017
@DeepDiver1975 the main idea behind this change was to reduce table size.
Should we make the property path shorter than before?
DeepDiver1975 commentedon Sep 19, 2017
The table should remain small if we only Save the path in cases where we dont have the fileid like for calendars
VicDeo commentedon Sep 19, 2017
@DeepDiver1975 it should be also taken into account
VicDeo commentedon Oct 2, 2017
@DeepDiver1975 I need your input on the following approach:
oc_propertiesreferenced byuseridandpathoc_file_propertiesreferenced byfileidfileidwhere possible while accessing the properties.And I haven't found the class
OC\Connector\Sabre\CustomPropertiesBackendanywhere.Did you mean one of those:
DeepDiver1975 commentedon Oct 2, 2017
yes
DeepDiver1975 commentedon Oct 2, 2017
this is true for webdav v1. But in webdav v2 we have the user in the path
remote.php/webdav/welcome.txt vs remote.php/dav/files/viktar/welcome.txt
We might want to add a table for all properties of non files dav resources oc_dav_properties
oc_properties can remain the way they are.
VicDeo commentedon Oct 2, 2017
@DeepDiver1975
apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.phpis used inOCA\DAV\Connector\Sabre\ServerFactorywith 'webdav' endpoint aka webdav v1while
apps/dav/lib/Files/CustomPropertiesBackend.phpis used inOCA\DAV\Serverwith 'dav' endpoint aka webdav v2DeepDiver1975 commentedon Oct 2, 2017
I know - this needs to be cleanup. Properties set via dav need to be retrievable via webdav as well. And vis-versa. I suspect this can all be done in one backend - no need for two.
VicDeo commentedon Oct 2, 2017
@DeepDiver1975 they looks pretty the same in general, but
apps/dav/lib/Connector/Sabre/CustomPropertiesBackend.phphas more codenamely
Soft fail in custom properties backend #14994
Soft fail in CustomPropertiesBackend whenever storage not available #15126
and depth support for directories
9f6dcb9#diff-ee47f0ce20207c0c51ddd0481e47c580R112
I'm not sure whether the latter is used anywhere.
VicDeo commentedon Oct 18, 2017
Fixed in 10.0.4beta2
master: #29136
stable10: #29273
lock commentedon Aug 1, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.