Kaydet (Commit) bedae6b0 authored tarafından Giuseppe Castagno's avatar Giuseppe Castagno

tdf#101094 (17) OPTIONS: Options cache removal: COPY

Change-Id: Ifa60eabd0a31b66074d79b30a5be7d497585f602
4a2c233261211b13ed06d05278bf42e446330487
Reviewed-on: https://gerrit.libreoffice.org/27696Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>
üst 2359e5a0
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment