cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate identifiers throwing exception.

Former Member
0 Kudos

Hi All,

I am getting some error, when i try to access duplicate identifiers tab through HMC---> catalog--->catalog management tools --->duplicate identifiers.

PFA to get the exception popup.

Any help is welcome.

Former Member
0 Kudos

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Please perform a platform update from your HAC by selecting Creating Essential Data checkbox. That should create the query for you.

Thanks,

Samantha.

mperndorfer
Contributor
0 Kudos

Hi!

Looks like the query for report this was not created properly.

You can try running a hybris update again, afterwards it should be there.

If this does not help, run the following code snippet in groovy console of the hac:

 import de.hybris.platform.catalog.jalo.CatalogManager;
 import de.hybris.platform.catalog.jalo.TypeViewUtilities;
 import de.hybris.platform.jalo.Item;
 import de.hybris.platform.jalo.JaloBusinessException;
 import de.hybris.platform.jalo.SessionContext;
 import de.hybris.platform.jalo.type.ComposedType;
 import de.hybris.platform.jalo.type.ViewType;
 final ViewType dcicv = (ViewType) CatalogManager.getInstance().getFirstItemByAttribute(ViewType.class, ViewType.CODE,
       TypeViewUtilities.DUPLICATECATALOGITEMCODESVIEW);
 final TypeViewUtilities tvu = new TypeViewUtilities();
 tvu.generateQuery(dcicv);

(Found in SAP Support Note 2033953)

Former Member
0 Kudos

This solved the issue that the duplicate identifier isn't working in the HMC. But how do I resolve those duplications?

Former Member
0 Kudos

you can manually delete the duplicate entries from hmc. just search for the ids that are shown as duplicates from Types and delete the redundant ones.