[MGNLEE-838] dx-core-test-webapps should not throw ClassNotFoundEx (master) Created: 08/Jan/24 Updated: 18/Jan/24 Resolved: 18/Jan/24 |
|
| Status: | Closed |
| Project: | Magnolia DX Core |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Christoph Meier |
| Resolution: | Resolved | Votes: | 0 |
| Labels: | TAE | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Epic Link: | TAE-build-or-infra-tasks | ||||||||||||
| Work Started: | |||||||||||||
| Description |
| Comments |
| Comment by Christoph Meier [ 09/Jan/24 ] |
|
Finding for p13n ClassNotFoundException: info.magnolia.personalization.geoip.CountryVoter The class info.magnolia.personalization.geoip.CountryVoter is part of the magnolia-personalization-compatibility artifact, which is not part of the webapp anymore on 6.3. CountryVoter allegedly gets referenced from personalization-segmentation-app, at least this is what I understand from sratup-log (see gist above) The class info.magnolia.personalization.geoip.CountryVoter is referenced in many bootsrap-file in dx-core/integration-tests/tests/src/test/resources ... but these files are "only" bootstrapped before the execution of some tests. The one bootstrap, which goes to the webapp on startup, it is coming from p13n-samples module, it is this: |
| Comment by Christoph Meier [ 17/Jan/24 ] |
|
The following resources have reference to info.magnolia.personalization.geoip.CountryVoter
These resources are bootstrapped specifially for specific tests - but will lead to problems in most cases. I added similar comment to MGNLPN-669 |
| Comment by Christoph Meier [ 17/Jan/24 ] |
|
Was able to get rid of Deleted samples/templates/pages/ftl/main.yaml referencing not existing info.magnolia.module.samples.templates.SampleTemplate. For this we have PR linked to this ticket |
| Comment by Christoph Meier [ 17/Jan/24 ] |
|
To get rid of We need a fix in the workflow-modules. |