0
Fixed

Performing "Synchronise Import" on the Unify Termination connector for re-instating employee result in error in the Identity Broker log

Shane Lim 13 years ago in UNIFYBroker/Frontier ichris/chris21 updated by anonymous 8 years ago 12

AHG
When re-instate (changed from terminated to non-terminated) an employee in chris21, and attempted to perform a "Synchronise Import" on the Unify Termination Connector, the error below occurred.

Starting deletion of chris21 GTR EAI change files.",Verbose
20101221,05:58:17,chris21 GTR EAI Communicator,Poll,Information,Completed successfully after [00:00:01.3281250] duration.,Verbose
20101221,05:58:17,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20101221,05:58:17,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
20101221,05:58:17,Chris21 Termination Connector,GetEntities,Information,Started successfully.,Verbose
20101221,05:58:17,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20101221,05:58:17,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
20101221,05:58:17,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20101221,05:58:17,Chris21 Termination Connector,GetEntity,Information,Started successfully.,Verbose
20101221,05:58:17,chris21 GTR EAI Communicator,Get,Information,Started successfully.,Verbose
20101221,05:58:18,chris21 GTR EAI Communicator,Get,Error,"Exception occured after [00:00:00.9843750] duration.

System.IO.InvalidDataException: GTR result has an invalid status=""fail"" attribute.

Chris21 GTR returned no additional error messages.
   at Unify.Framework.Chris21GtrWorker.CheckStatusAttribute(IChris21GtrCommandLine chris21GtrCommandLine)
   at Unify.Framework.Chris21GtrWorker.CheckGetResult(IChris21GtrRecord record)
   at Unify.Communicators.Chris21GtrCommunicatorBase.Get(IChris21GtrEntityKey entityKey)",Verbose
20101221,05:58:18,Chris21 Termination Connector,GetEntity,Error,"Exception occured after [00:00:00.9843750] duration.

System.IO.InvalidDataException: GTR result has an invalid status=""fail"" attribute.

Chris21 GTR returned no additional error messages.
   at Unify.Framework.Chris21GtrWorker.CheckStatusAttribute(IChris21GtrCommandLine chris21GtrCommandLine)
   at Unify.Framework.Chris21GtrWorker.CheckGetResult(IChris21GtrRecord record)
   at Unify.Communicators.Chris21GtrCommunicatorBase.Get(IChris21GtrEntityKey entityKey)
   at Unify.Connectors.Chris21GtrConnectorBase`1.GetEntity(MultiKeyValue entityId)",Verbose
20101221,05:58:18,Chris21 Termination Connector,GetEntities,Error,"Exception occured after [00:00:00.9843750] duration.

System.IO.InvalidDataException: GTR result has an invalid status=""fail"" attribute.

Chris21 GTR returned no additional error messages.
   at Unify.Framework.Chris21GtrWorker.CheckStatusAttribute(IChris21GtrCommandLine chris21GtrCommandLine)
   at Unify.Framework.Chris21GtrWorker.CheckGetResult(IChris21GtrRecord record)
   at Unify.Communicators.Chris21GtrCommunicatorBase.Get(IChris21GtrEntityKey entityKey)
   at Unify.Connectors.Chris21GtrConnectorBase`1.GetEntity(MultiKeyValue entityId)
   at Unify.Connectors.Chris21GtrConnectorBase`1.<GetEntities>b__4(MultiKeyValue entityId)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Unify.Connectors.Chris21GtrConnectorBase`1.GetEntities(IEnumerable`1 entityIds)",Verbose

Note: It is seems that if performing the "Synchronise Import" on the Unify Person connector first followed by "Synchronise Import" on the Unify Termination connector the error does not occur.
The error seems to occur when re-instating of an employee, but not when terminating an employee in chris21.

Please see attached Identit Broker log file a more complete log information.

I can't seem to find a way to attach the log file to this issue.
Any help would be much appreciated.

AHG

What I have found is that if I close Unify Management Studio (it seems to get 'stuck' constantly trying to process the data), and then re-open it and re-run the Synch Import on the Termination Connector, it no longer throws an error which is strange.

Shane Lim
I provided the following reply to AHG
This error is different to the incorrect/invalid token caused by the incorrect Escape Method used in the c21connect.asp file. This can be verified if you look at the detailed of the exception thrown and the different functions being invoked.


I do know what may cause this error. I will feed this information to our development team. In the mean time I suggest you use the work around you had used if this error re-occurred.

Assigning to Anton, for priority and relevance. Is this issue still occurring?

Shane did not see this issue in 3.0.4.

Shane Lim has reproduced this issue on his PC. Please investigate and determine if this can be resolved with either configuration or a code change.

Shane,

I cannot replicate this issue in the demonstration environment. Can you please confirm that this still an issue at AHG, and possibly try to replicate yourself in a demonstration environment.

If error is still occurring, then please provide AHG's copy of the c21connect.asp file.

Hi Rodney and Anton,

Firstly, when Anton discussed this issue with me I thought he was referring to the IDBCHRS-12 . Now that I compared the two the scenario and the error message generated looks to be the same to me.

Thus this issue exist in IdB v3.0.4 (AHG) and IdB v3.0.5.6 (Shane Lim Lab environment).

I think these two issues should be marked as duplicate once you verified that it is the same issue.

Did you delete the "Termination Details" in chris21 as part of re-activating the user in chris21?

Re-assign to Rodney for response.

Thanks Shane, I did terminate, but by sending GTR commands, I will try again, I understand the issue better now.

I won't mark as duplicate with IDBCHRS-12 yet.

This fix is included in UNIFY Identity Broker for Frontier chris21 v3.0.5.2.

When an entity was removed, the resulting get call was returning an error, instead of the expected null.

Test with the latest Identity Broker for chris21 v3.0.5.2 download

The following verification is performed:

  • In chris21 system re-instate an employee (delete the termination details record)
  • Perform "Sycnronise Import" on the Termination Connector successfully. (Chris21 Termination Connector reported 1 changes.)

    The Identity Broker log file output is
    20110204,05:38:42,Change detection engine poll completed.,Change detection engine,Information,Change detection engine poll for connector Chris21 Person Connector returned 0 possible changes. Duration: 00:00:05.6093750,Normal
    20110204,05:43:29,Change detection engine poll started.,Change detection engine,Information,Change detection engine poll for connector Chris21 Termination Connector started.,Normal
    20110204,05:43:29,chris21 GTR EAI Communicator,Poll,Information,Started successfully.,Verbose
    20110204,05:43:29,chris21 GTR EAI Communicator,Poll,Information,"Completed polling successfully after [00:00:00.2187500] duration.
    
    Starting deletion of chris21 GTR EAI change files.",Verbose
    20110204,05:43:29,chris21 GTR EAI Communicator,Poll,Information,Completed successfully after [00:00:00.2812500] duration.,Verbose
    20110204,05:43:29,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,05:43:29,Chris21 Termination Connector,GetEntities,Information,Started successfully.,Verbose
    20110204,05:43:29,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,05:43:29,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Chris21 Termination Connector,GetEntity,Information,Started successfully.,Verbose
    20110204,05:43:29,chris21 GTR EAI Communicator,Get,Information,Started successfully.,Verbose
    20110204,05:43:29,chris21 GTR EAI Communicator,Get,Information,Completed successfully after [00:00:00.1250000] duration.,Verbose
    20110204,05:43:29,Chris21 Termination Connector,GetEntity,Information,Completed successfully after [00:00:00.1250000] duration.,Verbose
    20110204,05:43:29,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00.1250000,Normal
    20110204,05:43:29,Chris21 Termination Connector,GetEntities,Information,Completed successfully after [00:00:00.1250000] duration.,Verbose
    20110204,05:43:29,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,05:43:29,Request to get entities from connector.,Connector,Information,Request to get entities [Count:1] from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Get entities from connector completed.,Connector,Information,Get entities [Count:1] from connector Chris21 Termination Connector returned 0 entities. Duration: 00:00:00,Normal
    20110204,05:43:29,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,05:43:29,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,05:43:33,Started processing changes register items.,Change detection engine,Information,Started processing changes register items for connector Chris21 Termination Connector.,Normal
    20110204,05:43:34,Change detection engine poll completed.,Change detection engine,Information,Change detection engine poll for connector Chris21 Termination Connector returned 0 possible changes. Duration: 00:00:04.7812500,Normal
    20110204,05:43:36,Changes register item processing completed.,Change detection engine,Information,Changes register item processing on connector Chris21 Termination Connector completed.  Duration: 00:00:02.8750000,Normal
    

Note: I have not test the FIM's Delta Import part of the cycle. This is not necessary as part of this issue resolution.

PS: Performing "Synchronise Import" on other chris21 Connectors are successfull.

Issue resolved.

Issue resolved. Closed.

Will discuss with Shane Day on how to get this fix to the customer, AHG.