cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to search items in backoffice advanced search using PK

0 Kudos
2,398

Hi guys,

I am trying to search 'TicketEventEmailConfiguration' items in backoffice using the advanced search widget with the PK value. When i add the PK field to the search, it is supposed to provide a text box to enter the PK value. But i don't get anything. Attached the screenshot.

In logs, i get this error: 'ERROR [hybrisHTTP38] [Editor] Unable to determine editor definition for: de.hybris.platform.core.PK'

Any idea why this behavior?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member437308
Active Participant
0 Kudos

Hello,

Unfortunately, in some places in configuration there is explicitly setting editor java.lang.Long for PK attribute. There is no such a editor.

For example

 <advanced-search:field xmlns="http://www.hybris.com/cockpitng/config/advancedsearch" editor="java.lang.Long" name="pk" selected="false"/>

Please remove this kind of mapping in your advanced search type configuration or change it to the correct editor called com.hybris.cockpitng.editor.defaultlong

Regards, Tomasz

former_member520288
Discoverer
0 Kudos

I tried with below change working as expected. cmsbackoffice-backoffice-config.xml:


                 <advanced-search:field xmlns:editorArea="com.hybris.cockpitng.editor.defaultlong" name="pk" selected="false" />
 

thank You

0 Kudos

zini20 there are still a lot of references of editor="java.lang.Long" in:

cmsbackoffice-backoffice-config.xml

in the 2005.5 version . Can you please raise it internally in order to fix it in the next patch version ?

Answers (0)