diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-01-27 17:41:30 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-01 18:39:51 +0100 |
commit | 43c1de58c3115dd0495d0326975d520a333845b8 (patch) | |
tree | 9b9891bd99996cda9d7c87c618100c88a407be37 /ucb | |
parent | dbe4b01ca7d0069f45d655c04ca595b42b71c631 (diff) |
ucb: webdav-curl: tdf#101094 (17) OPTIONS: Options cache removal: COPY
[ port of commit bedae6b06c51c641c38fa7dd3e25dd2aaafb30cf ]
Change-Id: I1618a7a5ec4e52fdd9e99b17b2b36e5ef77decae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123469
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-curl/webdavcontent.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx b/ucb/source/ucp/webdav-curl/webdavcontent.cxx index 6e0b57cb5b01..3f42acc56223 100644 --- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx @@ -865,6 +865,8 @@ void Content::addProperty( const css::ucb::PropertyCommandArgument &aCmdArg, osl::Guard< osl::Mutex > aGuard( m_aMutex ); m_xResAccess.reset( new DAVResourceAccess( *xResAccess ) ); } + // TODO PLACEHOLDER: + // remove target URL options from cache, since PROPPATCH may change them // Notify propertyset info change listeners. beans::PropertySetInfoChangeEvent evt( @@ -1885,6 +1887,8 @@ uno::Sequence< uno::Any > Content::setPropertyValues( { // Set property values at server. xResAccess->PROPPATCH( aProppatchValues, xEnv ); + // TODO PLACEHOLDER: + // remove target URL options from cache, since PROPPATCH may change it for ( const auto& rProppatchValue : aProppatchValues ) { @@ -2757,6 +2761,8 @@ void Content::transfer( rArgs.NameClash == ucb::NameClash::OVERWRITE, Environment ); + aStaticDAVOptionsCache.removeDAVOptions( sourceURI.GetURI() ); + aStaticDAVOptionsCache.removeDAVOptions( targetURI.GetURI() ); // DAV resources store all additional props on server! // // Copy own and all children's Additional Core Properties. |