Hi everyone,
Following XWIKI-21699: Add new API to help evaluate xobjects · xwiki/xwiki-platform@742cd45 · GitHub, the UI component searchSuggest.js
requires the module xwiki-platform-search-api
to work properly.
A consequence of this change is Loading... : during an upgrade process, the logs display that the ObjectEvaluator is missing in the runtime environment.
While this does not impact the upgrade process itself (thanks to XWIKI-21744: Errors related to ObjectEvaluator after upgrading to 15.… · xwiki/xwiki-platform@d7e90c1 · GitHub), having these logs is obviously an issue. Currently, I see three ways to fix it:
- add the missing dependency to
xwiki-platform-distribution-war-dependencies
- add the missing dependency to
xwiki-platform-minimaldependencies
- complete exception handling to
searchSuggest.js
with logback rules to mute these logs during upgrade
Right now, I am not sure of what all the uses of xwiki-platform-minimaldependencies
are, but solution 2 seems to be the best since it’s the module that includes the UI components.
WDYT?