summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-01-27 17:41:30 +0100
committerGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-07-29 18:31:48 +0000
commitbedae6b06c51c641c38fa7dd3e25dd2aaafb30cf (patch)
tree537b87815aa06b09ecf2f010054f4208b7ccdfd3 /ucb
parent2359e5a002f4df58548803320991064e6a6d968c (diff)
tdf#101094 (17) OPTIONS: Options cache removal: COPY
Change-Id: Ifa60eabd0a31b66074d79b30a5be7d497585f602 4a2c233261211b13ed06d05278bf42e446330487 Reviewed-on: https://gerrit.libreoffice.org/27696 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index beb5e1c13bf3..b515ea06b46f 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -858,6 +858,8 @@ void Content::addProperty( const ucb::PropertyCommandArgument& aCmdArg,
osl::Guard< osl::Mutex > aGuard( m_aMutex );
m_xResAccess.reset( new DAVResourceAccess( *xResAccess.get() ) );
}
+ // TODO PLACEHOLDER:
+ // remove target URL options from cache, since PROPPATCH may change them
// Notify propertyset info change listeners.
beans::PropertySetInfoChangeEvent evt(
@@ -1869,6 +1871,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
std::vector< ProppatchValue >::const_iterator it
= aProppatchValues.begin();
@@ -2739,6 +2743,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.