Skip to content

Merged profiles do not inherit properties and PII #892

@pedroarinto

Description

@pedroarinto

Describe the bug

When profiles are merged by the APM worker, all profile properties are lost, as well as PII information. Profile traits and Segments are merged.

To Reproduce

Tested on v 1.1.1

  1. On a device send a Sign-up event with email.main, firstname and lastname. The profile is correctly created with The email.main property and PII.firstname and PII.lastname are set.
  2. On another device, send a pageview event first. An anonymous profile is created.
  3. On this second device, send a sign-in event with the same email as the first device
  4. The profiles are merged, but all properties and PII are lost. The profile is set as anonymous.

Expected behavior

The profiles should be merged, and they should inherit the set properties and PII from the first profile.
Instead, the profiles are correctly merged but they are set as Anonymous without properties or PII.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions