Based on http://compositec1.codeplex.com/discussions/403223
Registered in HQ TFS as #4135
1. Use an SQL-based website
2. Install Package Server and add a license
3. Upload, add and publish a custom package
4. System / Packages / Package Source > Add the website from Step 1 as http://{your_website}/Packages.asmx
(You can reuse the same website)
5. System / Packages / > Right click Available Packages, then Clear Cache , then Refresh
Expected: The published package appears under Available Packages
Actual: The package is missing from Available Packages
--- LOG ---
System.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NotSupportedException: An IQueryable that returns a self-referencing Constant expression is not supported. at System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node) at System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector) at System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) at System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at Composite.Data.Foundation.DataFacadeQueryable`1.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Composite.Tools.PackageServer.Packages.GetPackageList(Guid InstallationId, String Culture) --- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoap.GetPackageList(GetPackageListRequest request)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoapClient.Composite.Core.PackageSystem.WebServiceClient.PackagesSoap.GetPackageList(GetPackageListRequest request)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoapClient.GetPackageList(Guid InstallationId, String Culture)
at Composite.Core.PackageSystem.PackageServerFacadeImpl.GetPackageDescriptions(String packageServerUrl, Guid installationId, CultureInfo userCulture)
Comments: Fixed in the latest Composite C1 build and the latest Package Server package
Registered in HQ TFS as #4135
1. Use an SQL-based website
2. Install Package Server and add a license
3. Upload, add and publish a custom package
4. System / Packages / Package Source > Add the website from Step 1 as http://{your_website}/Packages.asmx
(You can reuse the same website)
5. System / Packages / > Right click Available Packages, then Clear Cache , then Refresh
Expected: The published package appears under Available Packages
Actual: The package is missing from Available Packages
--- LOG ---
System.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NotSupportedException: An IQueryable that returns a self-referencing Constant expression is not supported. at System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node) at System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector) at System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) at System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) at System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) at System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at Composite.Data.Foundation.DataFacadeQueryable`1.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Composite.Tools.PackageServer.Packages.GetPackageList(Guid InstallationId, String Culture) --- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoap.GetPackageList(GetPackageListRequest request)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoapClient.Composite.Core.PackageSystem.WebServiceClient.PackagesSoap.GetPackageList(GetPackageListRequest request)
at Composite.Core.PackageSystem.WebServiceClient.PackagesSoapClient.GetPackageList(Guid InstallationId, String Culture)
at Composite.Core.PackageSystem.PackageServerFacadeImpl.GetPackageDescriptions(String packageServerUrl, Guid installationId, CultureInfo userCulture)
Comments: Fixed in the latest Composite C1 build and the latest Package Server package