on ‎2018 Jul 23 9:10 AM
facing the below exception
ERROR [Thread-74] [AdvancedSearchView] Error executing search java.lang.IllegalArgumentException: Value is instanceof Collection but cannot be empty collection for key: contentSlots at de.hybris.platform.servicelayer.search.FlexibleSearchQuery.addQueryParameters(FlexibleSearchQuery.java:185) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.search.impl.DefaultFlexibleSearchService.search(DefaultFlexibleSearchService.java:253) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.dao.AbstractItemDao.search(AbstractItemDao.java:68) ~[coreserver.jar:?] at de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSPageDao.findPagesByContentSlotsAndPageStatuses(DefaultCMSPageDao.java:542) ~[cms2server.jar:?] at de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSPageDao.findPagesByContentSlots(DefaultCMSPageDao.java:514) ~[cms2server.jar:?] at de.hybris.platform.cms2.servicelayer.services.impl.DefaultCMSPageService.getPagesForComponent(DefaultCMSPageService.java:689) ~[cms2server.jar:?] at de.hybris.platform.cmscockpit.services.security.impl.CMSCockpitUIAccessRightService.isObjectWritable(CMSCockpitUIAccessRightService.java:89) ~[cmscockpitserver.jar:?]
Request clarification before answering.
We are facing the same issue. Looks like 6.7 code got updated for getPagesForComponent() in DefaultCMSPageService. There is no null check for slots in Dao, need to override this to perform the null check..
The issue is mainly because component doesn't assigned with any slot. If the component is assigned with the slot you can see editor as well as sync works.. Good luck !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, are there any updates on this issue? think with an upgrade from 6.5 -> 6.7.0.3 we are running into the same issue.
Pls. keep me updated With KR, Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
see also: https://jira.hybris.com/browse/ECP-2682 CMS cockpit : Error on looking through content editor on hy66
the related issue is set to won't fix and affects version: 6.6
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.