[MGNLPN-222] Allow to use the same voter for more traits Created: 08/Jul/15 Updated: 15/Apr/16 Resolved: 03/Aug/15 |
|
| Status: | Closed |
| Project: | Magnolia Personalization |
| Component/s: | Integration |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 1.2.1 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 20m | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| 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)
|
||||||||||||
| Sprint: | Sprint 5 (Kromeriz) | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
Currently the corresponding trait dialog for chooseAudience is resolved by traitVoter class. info.magnolia.personalization.ui.TraitAggregatorFieldFactory#resolveRuleFieldDefinition returns the first ruleField which has the passed voter class which makes usage of the same voter for multiple traits impossible. |