[MGNLPN-328] Component variants dropdown breaks when audience name has a comma Created: 05/Sep/16  Updated: 12/Sep/16  Resolved: 07/Sep/16

Status: Closed
Project: Magnolia Personalization
Component/s: Component p13n
Affects Version/s: 1.3
Fix Version/s: 1.3

Type: Bug Priority: Critical
Reporter: Antti Hietala Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File correct-one-variant.png     PNG File incorrect-comma-separated.png    
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
Epic Link: Component P13N
Sprint: Kromeriz 60
Story Points: 2

 Description   

The variants dropdown in the component toolbar cannot handle the comma (,) character in audience names. The dropdown considers comma a separator and displays the remaining characters as the next variant.

To reproduce, create a fourth component variant In the tour carousel on the travel home page.

  • Expected result: Variants dropdown should look like this:
    Original
     Americas
     Asia-Pacific
     Europe, Middle-East and Africa
     Variant-3
    
  • Actual result: Variants dropdown looks like this:
    Original
     Americas
     Asia-Pacific
     Europe
     Middle-East and Africa  <---- This is not a real variant!
    

Note! The variants dropdown in the component dialog works correctly. This issue impacts only the dropdown in the toolbar.

I consider this issue critical because users are very likely to hit it. It occurs in the travel demo as soon you create another variant for the tour carousel component.


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