[MGNLPN-533] Persona cookies are not parsed in Preview app Created: 18/Mar/21  Updated: 05/Jan/23

Status: Open
Project: Magnolia Personalization
Component/s: Personas App, Preview App
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Relates
relates to MGNLPN-683 Cookie Traits Cause Error For Persona... 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
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

Steps to reproduce

  1.  Create a persona with multiple cookies
  2.  Open the preview app and use that persona

Expected results

  1. The multiple cookies should be parsed and acted upon as configured

Actual results

# The cookies are not parsed correctly so ignore. The log contains the message
Invalid cookie_value pair 'xxxxx' for preview

Workaround

# None found

Development notes

The converter, info.magnolia.personalization.cookie.CookieParameterConverter, recieves cookie pairs as comma-and-space separated list but splits this string using a dash.
This incompatibility means the string is never split to cannot be parsed.


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