0
Fixed

Identity Broker for chris21 delete "Termination Details" and perform "Synchronise Import" result in error/exception

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

This issue is encountered when testing and verifying [ IDB-13 | https://unifysolutions.jira.com/browse/IDB-13] and [ IDB-15 | https://unifysolutions.jira.com/browse/IDB-13]

After deleting a "Termination Details" and then perform "Synchronisation Import" on the Termination connector result in the following exception:

20110117,00:03:31,Change detection engine poll started.,Change detection engine,Information,Change detection engine poll for connector Chris21 Termination Connector started.,Normal
20110117,00:03:31,chris21 GTR EAI Communicator,Poll,Information,Started successfully.,Verbose
20110117,00:03:31,chris21 GTR EAI Communicator,Poll,Information,"Completed polling successfully after [00:00:00.0625000] duration.

getEaiFile=EMTER;getEaiKey=Number
Key:Count=1;detnumber=102967

Starting deletion of chris21 GTR EAI change files.",Verbose
20110117,00:03:31,chris21 GTR EAI Communicator,Poll,Information,Completed successfully after [00:00:00.0937500] duration.,Verbose
20110117,00:03:31,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20110117,00:03:31,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
20110117,00:03:31,Chris21 Termination Connector,GetEntities,Information,Started successfully.,Verbose
20110117,00:03:31,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20110117,00:03:31,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
20110117,00:03:31,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
20110117,00:03:31,Chris21 Termination Connector,GetEntity,Information,Started successfully.,Verbose
20110117,00:03:31,chris21 GTR EAI Communicator,Get,Information,Started successfully.,Verbose
20110117,00:03:31,chris21 GTR EAI Communicator,Get,Error,"Exception occured after [00:00:00.0781250] duration.

System.IO.InvalidDataException: GTR result record has an invalid ""status"" attribute value.

status=""fail"" existing.
status=""ok"" expected.
   at Unify.Framework.Chris21GtrWorker.CheckAttribute(IChris21GtrCommandLine chris21GtrCommandLine, String attributeName, String expectedAttributeValue)
   at Unify.Framework.Chris21GtrWorker.CheckGetResult(IChris21GtrRecord record)
   at Unify.Communicators.Chris21GtrCommunicatorBase.Get(IChris21GtrEntityKey entityKey)",Verbose
20110117,00:03:31,Chris21 Termination Connector,GetEntity,Error,"Exception occured after [00:00:00.0781250] duration.

System.IO.InvalidDataException: GTR result record has an invalid ""status"" attribute value.

status=""fail"" existing.
status=""ok"" expected.
   at Unify.Framework.Chris21GtrWorker.CheckAttribute(IChris21GtrCommandLine chris21GtrCommandLine, String attributeName, String expectedAttributeValue)
   at Unify.Framework.Chris21GtrWorker.CheckGetResult(IChris21GtrRecord record)
   at Unify.Communicators.Chris21GtrCommunicatorBase.Get(IChris21GtrEntityKey entityKey)
   at Unify.Connectors.Chris21GtrConnectorBase`1.GetEntity(MultiKeyValue entityId)",Verbose
20110117,00:03:31,Chris21 Termination Connector,GetEntities,Error,"Exception occured after [00:00:00.0781250] duration.

System.IO.InvalidDataException: GTR result record has an invalid ""status"" attribute value.

status=""fail"" existing.
status=""ok"" expected.
   at Unify.Framework.Chris21GtrWorker.CheckAttribute(IChris21GtrCommandLine chris21GtrCommandLine, String attributeName, String expectedAttributeValue)
   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
20110117,00:03:31,Change detection engine poll failed.,Change detection engine,Warning,"Change detection engine poll for connector Chris21 Termination Connector failed with reason GTR result record has an invalid ""status"" attribute value.

status=""fail"" existing.
status=""ok"" expected.. Duration: 00:00:00.2031250
Error details:
System.IO.InvalidDataException: GTR result record has an invalid ""status"" attribute value.

status=""fail"" existing.
status=""ok"" expected.
   at Unify.Framework.Chris21GtrWorker.CheckAttribute(IChris21GtrCommandLine chris21GtrCommandLine, String attributeName, String expectedAttributeValue)
   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)
   at Unify.Framework.ConnectorToPollingConnectorBridge.GetEntities(IEnumerable`1 entityIds)
   at Unify.Framework.EventNotifierReadingConnectorDecoratorBase`1.GetEntities(IEnumerable`1 entityIds)
   at Unify.Framework.ChangeDetectionPollJob.RunBase()
   at Unify.Framework.MutexJobDecorator.Run()
   at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
   at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)",Normal

The steps to reproduce:

  1. Terminate a user by creating the termination details record.
  2. Perform "Synchronise Import" on the Termination connector to obtain the delta change into Identity Broker entity repository. Success
  3. Perform "Delta Import" on FIM chris21 MA. Success
  4. Un-terminate the same user by deleting the termination details record
  5. Perform "Synchronise Import" on the Termination connector to obtain the delta change into Identity Broker entity repository. Failed, with the above error

Note: When this error occurred, the "eailst" record is removed (i.e no longer available in chris21). And no update to the Termination connector entity. The Person and Position connector does not encounter this issue.

The Identity Broker for chris21 Connector and Adapter configuration files attached. The Identity Broker log file containing the error also attached.


AdapterEngine.extensibility.config.xml
ConnectorEngine.extensibility.config.xml
Error occurred.jpg
UnifyLog20110117.csv

Further information, when this error occurred, the Green motion circle on the Termination connector continuous animated while the Identity Broker service is permantly red. This occurs until Unify Management Studio is restarted. See attached image, "Error occurred.jpg"

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

I have not done anything that resolve this issue.
I have changed my Lab env to work on ASC project using Aurion system.

I'm not 100% sure, but it may be that you have not correctly "rehired" the person in Chris21. I have changed the position end date for a person in this situation and I believe this is how to reactivate them. I am not an expert on Chris21 "proper" operation however

Hi Matthew,

I am not familiar with the proper opertation of chris21.


The scenario above is what AHG used in associated with when they make mistake in terminating a person.In their case they delete the termination record in chris21, which my understanding is it also re-adjust the position details and person details.


I do not know how many different method of terminating and un-terminating a user in chris21 and what they are.


Also I do not seems to recall encounterring this error in Identity Broker v3.0.4 with Identity Broker for Transformations v3.0.1.

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.

Shane L,

Please confirm this issue is fixed by performing user acceptance testing, under the scenario of this issue.

Duplicate issue to IDBCHRS-9 , which is resolved and closed.

Sorry this is not a duplicate issue to IDBCHRS-9

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

The following verification is performed:

  • In chris21 system terminate an employee (create a 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: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
    20110204,06:01:33,Change detection engine poll started.,Change detection engine,Information,Change detection engine poll for connector Chris21 Termination Connector started.,Normal
    20110204,06:01:34,chris21 GTR EAI Communicator,Poll,Information,Started successfully.,Verbose
    20110204,06:01:34,chris21 GTR EAI Communicator,Poll,Information,"Completed polling successfully after [00:00:00.6406250] duration.
    
    Starting deletion of chris21 GTR EAI change files.",Verbose
    20110204,06:01:34,chris21 GTR EAI Communicator,Poll,Information,Completed successfully after [00:00:00.7343750] duration.,Verbose
    20110204,06:01:34,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,06:01:34,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,06:01:34,Chris21 Termination Connector,GetEntities,Information,Started successfully.,Verbose
    20110204,06:01:34,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,06:01:34,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,06:01:34,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,06:01:34,Chris21 Termination Connector,GetEntity,Information,Started successfully.,Verbose
    20110204,06:01:34,chris21 GTR EAI Communicator,Get,Information,Started successfully.,Verbose
    20110204,06:01:35,chris21 GTR EAI Communicator,Get,Information,Completed successfully after [00:00:00.1562500] duration.,Verbose
    20110204,06:01:35,Chris21 Termination Connector,GetEntity,Information,Completed successfully after [00:00:00.1562500] duration.,Verbose
    20110204,06:01:35,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00.1562500,Normal
    20110204,06:01:35,Chris21 Termination Connector,GetEntities,Information,Completed successfully after [00:00:00.1562500] duration.,Verbose
    20110204,06:01:35,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,06:01:35,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,06:01:35,Request to get entities from connector.,Connector,Information,Request to get entities [Count:1] from connector Chris21 Termination Connector.,Normal
    20110204,06:01:35,Get entities from connector completed.,Connector,Information,Get entities [Count:1] from connector Chris21 Termination Connector returned 1 entities. Duration: 00:00:00,Normal
    20110204,06:01:35,Connector Processing started.,Connector Processor,Information,Connector Processing started for connector Chris21 Termination Connector (page 1),Normal
    20110204,06:01:40,Connector processing success.,Connector Processor,Information,"Processing page 1 for connector Chris21 Termination Connector processed 1 entities, finding 1 differences. Duration: 00:00:05.1562500",Normal
    20110204,06:01:40,Request to get changes from connector.,Connector,Information,Request to get changes from connector Chris21 Termination Connector.,Normal
    20110204,06:01:40,Get changes from connector completed.,Connector,Information,Get changes from connector Chris21 Termination Connector reported 1 changes. Duration: 00:00:00,Normal
    20110204,06:01:41,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:07.2812500,Normal
    20110204,06:01:43,Started processing changes register items.,Change detection engine,Information,Started processing changes register items for connector Chris21 Termination Connector.,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 and verified.

Issue resolved and verified. Closed.