Free cookie consent management tool by TermsFeed Policy Generator

Opened 9 years ago

Closed 9 years ago

#2503 closed defect (done)

Resource Locator Dialog in the Hive Job Manager does not work

Reported by: ascheibe Owned by: ascheibe
Priority: medium Milestone: HeuristicLab 3.3.13
Component: Hive.Server Version: 3.3.12
Keywords: Cc:

Description

The error is: Method bool VerifyUser (Guid, Collection<Guid>) has no supported transaction to SQL. The error seems only to occur if the user has no admin rights.

Change History (6)

comment:1 Changed 9 years ago by ascheibe

Exact exception happening when the user has no Hive administrator role:

HeuristicLab version: 3.3.12.12927 AggregateException: One or more errors occurred.


FaultException1: Method 'Boolean VerifyUser(System.Guid, System.Collections.Generic.List1[System.Guid])' has no supported translation to SQL.

Server stack trace:

at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) 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 HeuristicLab.Clients.Hive.IHiveService.GetSlaveGroups() at HeuristicLab.Clients.Hive.HiveServiceClient.GetSlaveGroups() in C:\dev\trunk\sources\HeuristicLab.Clients.Hive\3.3\ServiceClients\HiveServiceClient.cs:line 2633 at HeuristicLab.Clients.Hive.HiveAdminClient.<Refresh>b22_0(IHiveService service) in C:\dev\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveAdminClient.cs:line 82 at HeuristicLab.Clients.Hive.HiveServiceLocator.CallHiveService(Action`1 call) in C:\dev\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveServiceLocator.cs:line 132 at HeuristicLab.Clients.Hive.HiveAdminClient.Refresh() in C:\dev\trunk\sources\HeuristicLab.Clients.Hive\3.3\HiveAdminClient.cs:line 87 at HeuristicLab.Clients.Hive.JobManager.Views.HiveResourceSelectorDialog.DownloadResourcesAsync() in C:\dev\trunk\sources\HeuristicLab.Clients.Hive.JobManager\3.3\Views\HiveResourceSelectorDialog.cs:line 62 at System.Threading.Tasks.Task.Execute()

Version 0, edited 9 years ago by ascheibe (next)

comment:2 Changed 9 years ago by ascheibe

  • Status changed from new to accepted

comment:3 Changed 9 years ago by ascheibe

r13142 fixed problem with resource locator dialog

comment:4 Changed 9 years ago by ascheibe

  • Owner changed from ascheibe to gkronber
  • Status changed from accepted to reviewing

I already deployed the fix on services.heuristiclab.com so you can test if it works for you now. The problem was that this was a Linq-to-Sql query where we inside used a normal method.

comment:5 Changed 9 years ago by gkronber

  • Owner changed from gkronber to ascheibe
  • Status changed from reviewing to readytorelease

Andreas, I tested this and it works fine on my side now. Also reviewed r13142 and am pretty sure that the change is ok. Simple enough ;)

comment:6 Changed 9 years ago by ascheibe

  • Resolution set to done
  • Status changed from readytorelease to closed

r13166 merged r13142 into stable

Note: See TracTickets for help on using tickets.