-
Story
-
Resolution: Resolved
-
Neutral
-
None
-
None
-
None
Context
In p13n 3.0 - the bootstrap file segments.Economic-regions.xml
refers to class info.magnolia.personalization.geoip.CountryVoter, which is an "old" trait/voter.
This bootstrap requires the moduleĀ magnolia-personalization-compatibility in the bundle - otherwise ClassNotFoundExceptions exceptions are thrown on server-startup, furthermore the segments-app will throw errors as well.
That boostrap's exact location is personalization/magnolia-personalization-samples/src/main/resources/mgnl-bootstrap-samples/personalization-samples/personalization-segmentation-app/segments.Economic-regions.xml
magnolia-personalization-samples is added as dependency on magnolia-dx-core-webapp
magnolia-dx-core-webapp::6.3 does not contain the magnolia-personalization-compatibility - thus this webapp comes with errors.
(Same is true for dx-core-test-webapp ... which made me file the ticket)
Fix
The bootstrap segments.Economic-regions.xml - as it is now - it should be removed.
Adding other segments - without traits - likely doesn't make much sense.
("New" traits can be defined now in light-modules. magnolia-dx-core-webapp does not contain LMs with default traits afaik - hence it does not seem feasible to add segments-samples ... or they would need to be specified.)
- is related to
-
MGNLEE-838 dx-core-test-webapps should not throw ClassNotFoundEx (master)
- Closed