PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
21.82k stars 1.3k forks source link

Bug: Properties not saving #25015

Open joethreepwood opened 1 month ago

joethreepwood commented 1 month ago

Bug Description

Bug description

Been in touch with a user, Alex, who has experienced a bug around properties not saving. I've included details here, but further information is available on this community question and Ticket. #17965 in Zendesk.

Bug description: "If I manually add property to a user it appears, but after refreshing the page - it's not there. So it looks like it does not save."

How to reproduce

  1. Open People and groups
  2. Click on any person
  3. Click "New Property"
  4. Add property, e.g "isPad" boolean true
  5. Click save
  6. The property is visible
  7. Refresh the page - property is gone.

So I cannot add any new property to the user.

Additional context

Debug info

- [x] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
veryayskiy commented 1 month ago

https://github.com/user-attachments/assets/fb161f2e-44f8-4279-af46-c27972964dea

Here it a video how to replicate the bug.

Also, the same issue when you call .identiy with properties. they also do not save.

abhi12299 commented 1 month ago

This is not reproducible on the local environment. Works fine when running locally:

https://github.com/user-attachments/assets/ef3bc97b-4001-4ffc-8d87-99f1b06e94c0

veryayskiy commented 1 month ago

So the issue is in the environment then. Try to do the same on production (carefully) :)