[MGNLSITE-24] SiteProvider always returns site that was set as first in the ExtendedAggregationState Created: 27/Jul/15  Updated: 29/Jul/15  Resolved: 27/Jul/15

Status: Closed
Project: Magnolia Site Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0.1

Type: Bug Priority: Neutral
Reporter: Jaroslav Simak Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 20m
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLSITE-23 As an administrator, i don't experien... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: Sprint 3 (Kromeriz)
Story Points: 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.


Generated at Mon Feb 12 07:11:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.