Without the backend prefix, the mapistore backend context would never be found

This commit is contained in:
Wolfgang Sourdeau
2012-10-05 09:54:22 -04:00
parent f11308ef81
commit aa24d5133e

View File

@@ -537,7 +537,7 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
[mapping registerURL: childURL withID: mappingId];
contextId = 0;
mapistore_search_context_by_uri (connInfo->mstore_ctx, [folderURL UTF8String] + 7,
mapistore_search_context_by_uri (connInfo->mstore_ctx, [folderURL UTF8String],
&contextId, &rootObject);
owner = [userContext username];
mapistore_indexing_record_add_mid (connInfo->mstore_ctx, contextId,