My Oracle Support Banner

Baseline Index In Oracle Commerce (ATG and Endeca) version 11.1 Errors out with "wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with" (Doc ID 1921902.1)

Last updated on JUNE 04, 2018

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 11.0 and later
Oracle Commerce Platform - Version 11.0 and later
Information in this document applies to any platform.

Symptoms

You are working on a new Oracle Commerce (ATG /Endeca) 11.1 development environment  with customized Integration (without CRS)

Your custom ATG Endeca store application was originally created for 11.0. It has been created using the discover-data-cas template using the deploy.sh script.

The baseline updated worked correctly with the 11.0

You have not upgraded from 11.0 to 11.1, but have made a fresh 11.1 install and created a new Endeca application, in order to make your setup as consistent as possible, before deploying your store webapp.

The issue is that in 11.1, after a full deployment, you are not able to perform a baseline update on your Endeca application.

The bulk load of the data runs smoothly, but the CAS throws an exception when the BaselineUpdate script starts.

wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with.

You also tried to directly run the baseline_update.sh script,but get the same error.

In ATG Production Server logs you see the following error

**** info Thu Aug 28 08:58:27 EDT 2014 1409230707126 /atg/commerce/endeca/index/EndecaScriptService Script BaselineUpdate for application customXYZ finished with status Failed
**** info Thu Aug 28 08:58:27 EDT 2014 1409230707151 /atg/commerce/endeca/index/EndecaScriptService Attempting to release update lock for application customXYZ
**** info Thu Aug 28 08:58:27 EDT 2014 1409230707166 /atg/commerce/endeca/index/EndecaScriptService Starting script ReleaseUpdateLock in application customXYZ
**** info Thu Aug 28 08:58:30 EDT 2014 1409230710504 /atg/commerce/endeca/index/EndecaScriptService Script ReleaseUpdateLock for application customXYZ finished with status NotRunning
**** Error Thu Aug 28 08:58:30 EDT 2014 1409230710563 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: atg.repository.search.indexing.IndexingException: TaskId(SCRIPT,customXYZ,BaselineUpdate) has failed.
**** Error Thu Aug 28 08:58:30 EDT 2014 1409230710563 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIndexable.java:314)
**** Error Thu Aug 28 08:58:30 EDT 2014 1409230710563 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(ScriptIndexable.java:223)
**** Error Thu Aug 28 08:58:30 EDT 2014 1409230710563 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:421)

This corresponds to the following error in the CAS-service logs at the same time :

2014-08-28 08:58:22,966 ERROR [cas] [862926188@jetty-7] com.endeca.itl.executor.Pipeline.[customXYZ-last-mile-crawl]: Fatal execution error preparing for acquisition in processor "MDEX Output". Aborting crawl.
com.endeca.itl.executor.FatalExecutionException: Error retrieving attributes from the config repository: Unable to create JSON output for merge request: validation errors:
 ERROR: failure to add '/sites/customXYZ/attributes/content.repositoryId' to merged output: wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with.
 ERROR: failure to add '/sites/customXYZ/attributes/store.repositoryId' to merged output: wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with.
 ERROR: failure to add '/sites/customXYZ/attributes/article.repositoryId' to merged output: wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with.
 ERROR: failure to add '/sites/customXYZ/attributes/sku.margin' to merged output: wrong value for property 'mergeAction' (UPDATE) when no imported entry found to merge with.
. See config repository log for more details.
at com.endeca.itl.executor.output.mdex.MdexConfiguration.retrieveAttributes(MdexConfiguration.java:385)
at com.endeca.itl.executor.output.mdex.MdexConfiguration.<init>(MdexConfiguration.java:145)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.