As a visitor coming from a particular country, I only get to see the localized variant of the campaign page advertising the relaunched product. (MGNLPN-2)

[MGNLPN-12] Create @Injected + @LocalScoped TraitCollector Created: 18/Feb/14  Updated: 27/Feb/14  Resolved: 18/Feb/14

Status: Closed
Project: Magnolia Personalization
Component/s: Integration
Affects Version/s: None
Fix Version/s: 1.0

Type: Sub-task Priority: Neutral
Reporter: Philip Mundt Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: 5.3 Preparation 2

 Description   

It was decided to not use the AggregationState for "storing" trait instances. We will rather use a @LocalScoped TraitCollector (also see: http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=81463036).

This object will consist of only one property
private final ClassToInstanceMap<Object> facets = MutableClassToInstanceMap.create(); and the respective getter and setter.

The current sample trait + tests have to be adjusted.


Generated at Mon Feb 12 06:33:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.