0
Answered

Schema provider not committing updated schema

Eddie Kirkman 8 years ago updated by anonymous 7 years ago 4

Just installed IdB 5.1 and Aurion connector. Set up Agent and set up connector. Tried to retrieve schema from query - that was successful - but the button proceed with schema did nothing (for ages) then threw error:

Error

System.ArgumentException: The parameters dictionary contains a null entry for parameter 'connectorId' of non-nullable type 'System.Guid' for method 'System.Web.Mvc.ActionResult ConnectorDetails(System.Guid)' in 'Unify.Connect.Web.ConnectorController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters
at System.Web.Mvc.ActionDescriptor.ExtractParameterFromDictionary(ParameterInfo parameterInfo, IDictionary`2 parameters, MethodInfo methodInfo)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__36(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass45.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3e()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass1e.<>c__DisplayClass28.<BeginInvokeAction>b__19()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass1e.<BeginInvokeAction>b__1b(IAsyncResult asyncResult)

Going back into the connector and the schema has saved (with no unique key, so that might be why the error) so maybe this is just cosmetic/timing issue.


Answer

Answer
Answered

I'm unable to reproduce, it might be a browser issue (e.g. browser not including the connectorId in the post). I've cleaned up the view and fixed something that some browsers don't like (stopped hiding UI form elements that are already of type hidden). Reopen if issue reoccurs in next v5.1/v5.2 release.

GOOD, I'M SATISFIED

Thanks. I created the exact same connector (pointing to the same Aurion instance) in my lab to see if the same error occurred and it did not, so I think it is probably safe to say this was an environmental factor.

Thanks for the fast response.

Satisfaction mark by Eddie Kirkman 8 years ago
Under review

The schema retrieval can take a while, as there is no suitable method in Aurion for fetching the schema, so we take it from the first returned object. Unfortunately this means that we have to wait for the query to finish and start returning objects.

The exception is a problem, but I don't think it relates to the key. They key issue relates to the above point, we don't know what the key is from the information provided.

On what page does the exception appear?

On the page where the schema listed. Schema retrieved and had the right attributes (yes took a little while). Then I pressed continue with schema which I know has previously pushed the retrieved items into the schema table, but in this case it did nothing (for ages) then threw the error. I expected it to write the table and give me a warning that no key attr was set (which I got when I refreshed the page, so this may just be cosmetic)

Answer
Answered

I'm unable to reproduce, it might be a browser issue (e.g. browser not including the connectorId in the post). I've cleaned up the view and fixed something that some browsers don't like (stopped hiding UI form elements that are already of type hidden). Reopen if issue reoccurs in next v5.1/v5.2 release.