10-28-2020 12:41 PM
Hi, I was wondering if someone could help me with this error please? I've search the forum and online but I haven't found a solution.
I get this error when I try to use the search function:
Strangely the autocomplete search still works, but when searching normally or using the advanced search function we get the error above.
I'll update the post with logs and more information soon.
Share log:
11-03-2020 07:53 AM
Sorry, as it turns out it was something that we have modified in another file. I appreciate your help.
10-28-2020 05:36 PM
Spoiler2020-10-28 16:52:40,154 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-67] Exception from executeScript: 09280041 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js': missing ] after element list (file:/usr/local/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js#2002)
Its hard to tell what exactly going on, do you find any error in alfresco.log ? Have you made any customizations to "faceted-search.get.js"? Are you able to execute the search query via Node Browser?
Try enabling this log and monitor the alfresco.log and see if you can notice anything:
log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug
11-02-2020 11:02 AM
Thank you for replying. I can't find anything else in alfresco.log or in any other logs. We didn't make any customizations in that file. Searching works fine in the Node Browser. After enabling that log I can't see any new messages displayed in the log either.
11-02-2020 11:59 AM
I can't think what could be causing this error unless there is customization either on ui or search area.
Look at these webscripts: https://github.com/Alfresco/share/tree/master/share-services/src/main/resources/alfresco/templates/w...
when executing search many of these webscripts print logs when enabled using the log config i shared.
I am not sure why you can't see these logs as well.
May be someone else can pich in here.
11-03-2020 07:53 AM
Sorry, as it turns out it was something that we have modified in another file. I appreciate your help.
Explore our Alfresco products with the links below. Use labels to filter content by product module.