Uh oh!
There was an error while loading. Please reload this page.
Metadata must be set a editable for PROPPATCH - #41390
Conversation
| * Disable modification of the displayname property for files and | ||
| * folders via PROPPATCH. See PROPFIND for more information. | ||
| */ | ||
| $propPatch->handle(self::DISPLAYNAME_PROPERTYNAME, function ($displayName) { |
Check notice
Code scanning / Psalm
MissingClosureParamType
Uh oh!
There was an error while loading. Please reload this page.
8235cdc to
9cac531CompareUh oh!
There was an error while loading. Please reload this page.
9cac531 to
76b44a5CompareUh oh!
There was an error while loading. Please reload this page.
ArtificialOwl
commented
Nov 11, 2023
cypress error not related |
1ebc2e1 to
e25ebe6CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
11395c9 to
8e4f8e9CompareArtificialOwl
commented
Nov 13, 2023
cypress error does not seems related |
edd8494 to
b9f5552CompareUh oh!
There was an error while loading. Please reload this page.
61a26fc to
a460d61CompareSigned-off-by: Maxence Lange <maxence@artificial-owl.com>
a460d61 to
847c687Compare
come-nc
left a comment
There was a problem hiding this comment.
Small improvements needed on phpdoc for the EDIT_* enum
| * @param string $key metadata key | ||
| * | ||
| * @inheritDoc | ||
| * @return int edit permission |
There was a problem hiding this comment.
| * @return int edit permission | |
| * @return IMetadataValueWrapper::EDIT_* edit permission level |
| * @param string $key metadata key | ||
| * @param string $type metadata type | ||
| * @param bool $indexed TRUE if metadata can be search | ||
| * @param int $editPermission remote edit permission via Webdav PROPPATCH |
There was a problem hiding this comment.
| * @param int$editPermission remote edit permission via Webdav PROPPATCH | |
| * @param IMetadataValueWrapper::EDIT_*$editPermission remote edit permission level via Webdav PROPPATCH |
| * (Webdav PROPPATCH) | ||
| * | ||
| * @param string $key metadata key | ||
| * @param int $permission remote edit permission |
There was a problem hiding this comment.
| * @param int$permission remote edit permission | |
| * @param IMetadataValueWrapper::EDIT_*$permission remote edit permission level |
| * | ||
| * @param string $key metadata key | ||
| * | ||
| * @return int |
There was a problem hiding this comment.
| * @return int | |
| * @return IMetadataValueWrapper::EDIT_* edit permission level |
| * set remote edit permission | ||
| * (Webdav PROPPATCH) | ||
| * | ||
| * @param int $permission edit permission |
There was a problem hiding this comment.
| * @param int$permission edit permission | |
| * @param IMetadataValueWrapper::EDIT_*$permission edit permission level |
| * get remote edit permission | ||
| * (Webdav PROPPATCH) | ||
| * | ||
| * @return int edit permission |
There was a problem hiding this comment.
| * @return int edit permission | |
| * @return IMetadataValueWrapper::EDIT_* edit permission level |
There was a problem hiding this comment.
let me do this on a separated PR, post merge
With the implementation of metadata and its compatibility with webdav PROPPATCH request, and to avoid unexpected behavior, 2 things needs to be implemented:
throws exception on fail, might be better to just log a warning but keep the process running ?