Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d710723a
Kaydet (Commit)
d710723a
authored
Haz 28, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CMIS UCP: cached session id change was not impacted on all constructors
Change-Id: I42cc76c08ce1a5e0942125d59bddf600c7ff9ee2
üst
ba23ece2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
cmis_content.cxx
ucb/source/ucp/cmis/cmis_content.cxx
+4
-3
No files found.
ucb/source/ucp/cmis/cmis_content.cxx
Dosyayı görüntüle @
d710723a
...
@@ -190,13 +190,14 @@ namespace cmis
...
@@ -190,13 +190,14 @@ namespace cmis
m_sURL
=
m_xIdentifier
->
getContentIdentifier
(
);
m_sURL
=
m_xIdentifier
->
getContentIdentifier
(
);
cmis
::
URL
url
(
m_sURL
);
cmis
::
URL
url
(
m_sURL
);
// Look for a cached session
// Look for a cached session, key is binding url + repo id
m_pSession
=
pProvider
->
getSession
(
url
.
getBindingUrl
(
)
);
rtl
::
OUString
sSessionId
=
url
.
getBindingUrl
(
)
+
url
.
getRepositoryId
(
);
m_pSession
=
pProvider
->
getSession
(
sSessionId
);
if
(
NULL
==
m_pSession
)
if
(
NULL
==
m_pSession
)
{
{
// Initiate a CMIS session and register it as we found nothing
// Initiate a CMIS session and register it as we found nothing
m_pSession
=
libcmis
::
SessionFactory
::
createSession
(
url
.
getSessionParams
(
)
);
m_pSession
=
libcmis
::
SessionFactory
::
createSession
(
url
.
getSessionParams
(
)
);
pProvider
->
registerSession
(
url
.
getBindingUrl
(
)
,
m_pSession
);
pProvider
->
registerSession
(
sSessionId
,
m_pSession
);
}
}
m_sObjectPath
=
url
.
getObjectPath
(
);
m_sObjectPath
=
url
.
getObjectPath
(
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment