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

Error in SAP Commerce 1905 : HAC->FlexibleSearch window

bidyadhar_tripathy
Participant
6,211

Hi All,

In 1905 version, Whenever I type a wrong flexible query in HAC->Flexiblesearch section then we are getting empty "Search Result" tab without any error messages where as in 6.7 version we are getting error message in "Search Result Tab".

Query : select * fro {Product}

1905 version

Log : ERROR [hybrisHTTP30] [FlexibleSearch] Flexible search error occured...
ERROR [hybrisHTTP30] [FlexibleSearch] Query translation was not successful.
ERROR [hybrisHTTP30] [ConnectionImpl] transaction of unbinding connection 18(-) has not been ended - will rollback automatically
Sep 20, 2019 9:15:45 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [springmvc] in context with path [/hac] threw exception [Request processing failed; nested exception is de.hybris.platform.servicelayer.search.exceptions.FlexibleSearchException: Missing FROM clause in 'select * fro {Product}'] with root cause
de.hybris.platform.jalo.flexiblesearch.FlexibleSearchException: Missing FROM clause in 'select * fro {Product}'[HY-0]
        at de.hybris.platform.persistence.flexiblesearch.ParsedQuery.splitQuerySections(ParsedQuery.java:703)

6.7 version

ERROR [hybrisHTTP23] [FlexibleSearch] Flexible search error occured...
ERROR [hybrisHTTP23] [FlexibleSearch] Query translation was not successful.
ERROR [hybrisHTTP23] [ConnectionImpl] transaction of unbinding connection 611(-) has not been ended - will rollback automatically 

I am getting few extra console errors in 1905 version as compared to 6.7.

Is this a bug in 1905 version ? Can anyone please help me on this issue.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

crescenzorega
Active Participant

the problem is the query

Missing FROM clause in 'select * fro {Product}'] with root cause

try with

select * from {Product}
aoppelt
Member

Supposedly fixed in 2011 via

https://cxjira.sap.com/browse/ECP-5041

nicolabeghin
Product and Topic Expert
Product and Topic Expert
0 Likes

thanks Achim.

nicolabeghin
Product and Topic Expert
Product and Topic Expert
0 Likes

Any update on this? still experiencing the same issue on 2005

pavanmarla
Associate
Associate
0 Likes

Any fix for this issue?

former_member670738
Discoverer
0 Likes

select * from {product}. you are missing "from" in query

0 Likes

We have same issue ...