Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-774

personalization-samples .. segments.Economic-regions.xml creates ClassNotFound error

    XMLWordPrintable

Details

    • Story
    • Resolution: Resolved
    • Neutral
    • 3.0.0
    • None
    • None
    • None

    Description

      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.)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                cmeier Christoph Meier
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 3.5h
                      3.5h