Skip to content

Error When Opening Ad Hoc View With Bundles

When you are logged in as a superuser and you attempt to open the Ad Hoc View with bundles, Can't find bundle error is shown. Ideally the Ad Hoc View should open without any errors.

To fix this issue, the cache must be cleared before loading resource bundle.

Clearing the Cache Before Loading Resource Bundle

Configuration File

.../WEB-INF/js.config.properties

Property

Description

adhoc.bundleCache.resetIfMissing

To clear the bundle cache if a resource cannot be found. By default, it is set to false

If a resource cannot be found, set adhoc.bundleCache.resetIfMissing=true

adhoc.bundleCache.forceClear

To clear the bundle cache. By default, it is set to true.

To clear the bundle cache, set adhoc.bundleCache.forceClear=true.