You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install Composite.Tool.SqlDataProvider package and perform migration to SQL
Search for something to the console.
Expected:
Search results are shown Actual:
Nothing is shown, and there's the following error in the log:
System.InvalidOperationException: ThreadDataManager hasn't been initialized in the current thread. You probably have forgotten to use Composite.Core.Threading.ThreadDataManager.EnsureInitialize() call on a custom created thread.Example of usage:
using(Composite.Core.Threading.ThreadDataManager.EnsureInitialize())
{
// Code that works with C1 data layer goes here
.....
}
at Composite.Verify.ThrowInvalidOperationException(String message, Object[] formatArguments)
at Composite.Core.Threading.ThreadDataManager.GetCurrentNotNull()
at Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.SqlDataTypeStoresContainer.GetDataContext()
at Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.SqlDataTypeStore.GetQueryable()
at Composite.Plugins.Data.DataProviders.MSSqlServerDataProvider.SqlDataProvider.GetData[T]()
at Composite.Data.Foundation.PluginFacades.DataProviderPluginFacade.GetData[T](String providerName)
at Composite.Data.DataFacadeImpl.BuildQueryFromProviders[T](IEnumerable`1 providerNames)
at Composite.Data.DataFacadeImpl.GetData[T](Boolean useCaching, IEnumerable`1 providerNames)
at Composite.C1Console.Security.UserGroupFacade.GetUserGroupActiveCultures(String username)
at Composite.C1Console.Users.UserSettings.GetActiveLocaleCultureInfos(String username, Boolean includeGroupAssignedCultures)
at Composite.C1Console.Users.UserSettings.GetCurrentActiveLocaleCultureInfo(String username)
at Composite.Plugins.Search.Endpoint.ConsoleSearchRpcService.<QueryAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WampSharp.V2.Rpc.AsyncLocalRpcOperation.<InnerInvokeAsync>d__3`1.MoveNext()
The text was updated successfully, but these errors were encountered:
Repro:
Expected:
Search results are shown
Actual:
Nothing is shown, and there's the following error in the log:
The text was updated successfully, but these errors were encountered: