[ABTEST-467] CustomerId field in event data is always "demo" Created: 17/May/21  Updated: 27/May/21  Resolved: 26/May/21

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Nguyen Phung Chi Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: VN-Implementation, VN-Testing
Remaining Estimate: Not Specified
Time Spent: 1d 0.75h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: ABn GA tasks
Sprint: Content Mngmt 04
Story Points: 2

 Description   

Steps to reproduce

  1.  During the Public beta monitoring and observation, there is a field name "customerId" in the event data (table ab-testing-data in DynamoDB)
  2.  The value of the field is "demo" although the events came from different client, e.g Aperto and our Addons license, both are same "demo" string value for the field.

Expected results

The field value should be the license owner email address, e.g "addons@magnolia-cms.com"

Actual results

The field value is "demo"

Workaround

Development notes

There is a different way to get the license owner, like we did in the authorization lambda function:

https://git.magnolia-cms.com/projects/ADDON/repos/ab-testing-auth-lambda/browse/src/main/java/info/magnolia/APIGatewayAuthorizerHandler.java#59

 

 


Generated at Sun Feb 11 22:56:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.