aegif / NemakiWare

Light-weight, highly customizable CMIS server powered by NoSQL

Home Page:http://nemakiware.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflict when multiple users run CmisSync etc.

linzhixing opened this issue · comments

CmisSync notice conflict data even when a user upload files for the first time.

This issue can be also reproduced by all sort of CMIS transactions, such as two users browse/upload files to the same CMIS server.

The reason is, in some case, when user transaction cross that of another CallContext is overwritten by another CallContext, because CallContext is common to CmiService singleton in the application.

CallContext is usually passed in internally within a request and unchanged, but it happens to be re-read for creating ObjectInfo, which is required for AtomPub binding by Chemistry library.