Skip to content

Pods::duplicate() doesn't clear object cache #4566

@lougreenwood

Description

@lougreenwood

I have some method which duplicates some records when the user performs some action.

When the user has performed this action, I expect these duplicated records to appear in the UI.

Instead, when object caching (via Redis) is enabled, after the user has performed their action, the results don't show in my front end until I manually flush the Redis cache.

It seems this is possibly a bug specific to the pods::duplicate() method, since creating/updating records using pods pods::add() & pods::save() appear to correctly clear the object cache.

Metadata

Metadata

Assignees

Labels

Keyword: Has BountyDonor has reached out to us and funded this specificallyType: Bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions