In class WebDavSqlStoreDocument, the method OpenWriteStream does not invalidate the document cache - it is necessary to supply the instance of the document factory at line 86:
return f?.OpenWriteStream(PrincipleFactory.Instance.GetPrinciple(FromType.WebDav), ItemPath, WebDavSqlStoreDocumentFactory.Instance);
Unfortunately this is not enough to fix the problem, since WebDavSqlStoreDocumentFactory.InvalidateDocumentPath is used as a dynamic method and class WebDavSqlStoreDocumentFactory is declared as internal thus the method binding fails at runtime. Therefore it is also necessary to change WebDavSqlStoreDocumentFactory declaration to public.
This fixes issues in the Litmus tests.
In class WebDavSqlStoreDocument, the method OpenWriteStream does not invalidate the document cache - it is necessary to supply the instance of the document factory at line 86:
Unfortunately this is not enough to fix the problem, since WebDavSqlStoreDocumentFactory.InvalidateDocumentPath is used as a dynamic method and class WebDavSqlStoreDocumentFactory is declared as internal thus the method binding fails at runtime. Therefore it is also necessary to change WebDavSqlStoreDocumentFactory declaration to
public.This fixes issues in the Litmus tests.