0
Fixed

Delete reference attribute from calendar

Rizwan Ahmed 10 years ago updated by anonymous 8 years ago 5

1a. Unable to delete a multivalued reference attribute from calendar.
So when we try to delete a member’s attribute (either readers, writers, owners etc.) in calendar, it fails to do so.

1b. No error in FIM GUI, but error is detected in Event Viewer


Unify.IdentityBroker.Adapter.LDIF.dll

RA 10/10: UNIFY was able to reproduce it, and will need to provide a solution.

1a. This issue will need to be investigated using the data used for UAT onsite with Piyush to assess IdB state, data and behaviour.
If the issue is reproducible an estimate to fix and test the issue is available in Estimates column.

1b. When attempting an export, FIM reports a success status of "success", although no exports appear in the operation history. Checking in the Identity Broker logs and adapter job statistics show that the export has failed.
Items that were marked as pending exports are now awaiting confirmation of their success, even though the exports have failed. A confirming full import reports a number of exported-change-not-reimported errors, confirming that the exports did not succeed.
This is due to an error occurring during an export not being properly presented in FIM. From Update 2, errors thrown by Identity Broker (and other ECMA management agents) can be hidden due to a setting on the Configure Extensions tab. Disabling the Enable Merging of "Pending Export" and "Export in Progress" setting will ensure any errors will no longer be hidden in FIM.

Following is the exception in FIM, again no log entry in IdB

System.Exception: Error occurred when attempting to save entity with distinguished name

CN=1e2b34c4-14b9-4153-8555-94613ca036ee,OU=calendars

Error:

could not be parsed into a valid DN.
at Unify.Product.IdentityBroker.EntityDistinguishedNameTypeSchemaValidator.CreateValue(Object dataValue)
at Unify.Product.IdentityBroker.EntityMultiValueValidatorFactoryBase`3.<>c_DisplayClass1.<GetValidator>b_0(Object value)
at Unify.Product.IdentityBroker.EntityMultiValueObjectTypeSchemaValidator`3.<CreateValue>b__1(Object item)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToListTSource(IEnumerable`1 source)
at Unify.Product.IdentityBroker.EntityMultiValueObjectTypeSchemaValidator`3.CreateValue(Object dataValue)
at Unify.Product.IdentityBroker.EntitySchemaFieldDefinition.CreateValue(Object dataValue)
at Unify.Product.IdentityBroker.LDIFToAdapterEntitySaveAdapterBase`1.<>c_DisplayClasse.<ConvertValues>b_a(IGrouping`2 item)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArrayTSource(IEnumerable`1 source)
at Unify.Product.IdentityBroker.LDIFToAdapterEntitySaveChangeAdapter.GetConvertedValuesFromSchema(String objectClass, IEnumerable`1 values)
at Unify.Product.IdentityBroker.LDIFToAdapterEntitySaveChangeAdapter.HandleUpdate(LDIFChangeObject pendingUpdate)
at Unify.Product.IdentityBroker.LDIFToAdapterEntitySaveChangeAdapter.<Transform>d__2.MoveNext()
at Unify.Product.IdentityBroker.LDIFAdapterBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at Unify.Product.IdentityBroker.LDIFAdapterServiceHostDecoratorBase.ExportChanges(ExportedLDIFForAdapter exportedLdifForAdapter)
at SyncInvokeExportChanges(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at Unify.Product.IdentityBroker.IdentityBrokerManagementAgentProxy.ExportEntry(ModificationType modificationType, String[] changedAttributes, CSEntry csentry)

Attached Unify.IdentityBroker.Adapter.LDIF.dll. Copy it to the Identity Broker service install directory (and unblock). Looks like it might fix up the other multi-value delete references as well.

After the patch, this appears to be fixed. I was able to delete Calendar->Owner attribute.