[Libreoffice-commits] core.git: ucb/source
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Fri Jul 29 18:32:27 UTC 2016
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit bedae6b06c51c641c38fa7dd3e25dd2aaafb30cf
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date: Wed Jan 27 17:41:30 2016 +0100
tdf#101094 (17) OPTIONS: Options cache removal: COPY
Change-Id: Ifa60eabd0a31b66074d79b30a5be7d497585f602
4a2c233261211b13ed06d05278bf42e446330487
Reviewed-on: https://gerrit.libreoffice.org/27696
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index beb5e1c..b515ea0 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.
More information about the Libreoffice-commits
mailing list