Monday, March 27, 2017

Endeca 11.x : Property 'priority' must be a positive integer

Behaviour :- Following Exception/Error comes during Endeca experience manager content migration between environments or importing content... thumbnail 1 summary
Behaviour :-

Following Exception/Error comes during Endeca experience manager content migration between environments or importing contents from zip file.

SEVERE: Caught an exception while invoking method 'importApplication' on object 'IFCR'. Releasing locks.
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(
        at com.endeca.soleng.eac.toolkit.Controller.execute(
        at com.endeca.soleng.eac.toolkit.Controller.main(
Caused by: com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException: Internal Server Error (500): javax.jcr.RepositoryException:

The following 2 validation failures occurred:
        [/sites/Discover/content/Web/Browse Pages/Boot Page] Property 'priority' must be a positive integer.
        [/sites/Discover/content/Web/Browse Pages/Helmets Page] Property 'priority' must be a positive integer.

        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.execute(
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPostDoNotConsume(
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPost(
        at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.importNode(
        at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importContent(
        at com.endeca.soleng.eac.toolkit.component.IFCRComponent.importApplication(
        ... 7 more

Solution :-
Sometimes business user assigns rules priority less than 1 and Endeca XM accepts that value while saving the rule. Above Exception comes if any rule priority is less than 1. Ask business user not to assign rules priority as 0 or any value negative number. Extract the zip file and change the priority in respective JSON file as per error to any positive integer and try importing again.
Endeca XM Rules Priority with zero Value

From Author

Was this post resolve the solution you are looking for? are you looking for some other issues?Provide your comments


Unknown said...
This comment has been removed by the author.
Unknown said...

Endeca Experience Manager 11.2 - Pages within folders are listed alphabetically instead of by priority, How I can change it.

Mueeid Soomro said...

It is normal for the accountant for the property owner to compile the depreciation schedule annually at tax homes for sale in ocala fl

Post a Comment

Note: Only a member of this blog may post a comment.

Text Widget