WebDAV: Fix dead property updates (closes #1611)

This commit is contained in:
mdecimus
2025-06-01 16:33:15 +02:00
parent b3bb2bffb8
commit b3fd99673e
3 changed files with 17 additions and 5 deletions

View File

@@ -496,13 +496,25 @@ pub async fn test(test: &WebDavTest) {
(
DavProperty::DeadProperty(DeadElementTag::new(
"my-dead-element".to_string(),
Some("xmlns=\"http://example.com/ns/\"".to_string()),
Some("xmlns=\"http://example.com/ns/\" prop=\"abc\"".to_string()),
)),
"this is a dead but exciting element",
),
],
)
.await;
client
.patch_and_check(
path,
[(
DavProperty::DeadProperty(DeadElementTag::new(
"my-dead-element".to_string(),
Some("xmlns=\"http://example.com/ns/\" prop=\"xyz\"".to_string()),
)),
"this is a modified dead but exciting element",
)],
)
.await;
// Test 13: PROPPATCH remove on DAV properties
let mut props = vec![