Uploaded image for project: 'Magnolia Site Module'
  1. Magnolia Site Module
  2. MGNLSITE-24

SiteProvider always returns site that was set as first in the ExtendedAggregationState

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.0.1
    • 1.0
    • None
    • None
    • Sprint 3 (Kromeriz)
    • 1

    Description

      Most obvious effect of this error comes from info.magnolia.dam.imaging.ImagingBasedAssetRenderer which renders images based on variations defined in the theme (that is linked to the site). To reproduce:

      • remove variations from e.g. pop-mobile
      • assign pop-mobile to demo-features site
      • surf demo-features and see how it falls back to default image renderer (due to not finding variations)
      • surf demo-project and see how it resolve the same site (without variations)

      Solution

      Removing the singleton scope from definiton in the site module descriptor should resolve the problem.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 20m
                      20m