cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Known Issue: Import writers may fail at step "Create new AutoSynchronized licenses" due to duplicate SKU entries published in the SKU library (IOK-884202)

Known Issue: Import writers may fail at step "Create new AutoSynchronized licenses" due to duplicate SKU entries published in the SKU library (IOK-884202)

Summary

Import may fail at the “Create new AutoSynchronized licenses” step if duplicate SKUs are present in SKU library.

Details

If a SKU value appears multiple times in the SKU library published by Flexera, then inventory import processes may fail.

When this issue occurs, logging from an import process will terminate with an error similar to the following:

2022-07-27 17:04:05,123 [INFO ]     Create new AutoSynchronized licenses
2022-07-27 17:04:05,341 [ERROR]       System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The result collection contains duplicate objects.
   at DevExpress.Xpo.Helpers.ObjectCollectionLoader.EndLoadObjects(LoadObjectsContext loadObjectsContext, ICollection[] objs, Boolean proceesStubs)
   at DevExpress.Xpo.SimpleObjectLayer.LoadObjects(Session session, ObjectsQuery[] queries)
   at ManageSoft.Database.Xpo.XpoSession.XpoObjectLayer.DevExpress.Xpo.IObjectLayer.LoadObjects(Session p_Session, ObjectsQuery[] p_Queries)
   at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler`1 handler, MessageHandler`1 createMessageHandler)
   at DevExpress.Xpo.Session.GetObjects(ObjectsQuery query)
   at DevExpress.Xpo.XPQueryBase.GetObjects()
   at DevExpress.Xpo.XPQuery`1.GetEnumerator()
   at ManageSoft.Compliance.Logic.Core.Impl.ProcessingEngines.LicenseUpdateEngine.CreateNewAutoSynchronizedLicenses()
   at ManageSoft.Compliance.Importer.Procedures.ManageSoft.LicenseUpdateEngine.CreateNewAutoSynchronizedLicenses()

SKU details from the SKU library published by Flexera are stored in the SoftwareSKU table in the compliance database.

Fix status

This issue is still open but not currently scheduled to be addressed.

Other information

Affected components: Inventory import (read/write/export)

Master issue ID: IOK-884202

Also known as: FNML-76601

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Version history
Last update:
‎Aug 25, 2022 02:33 AM
Updated by: