Replies: 2 comments
-
Are there any other workarounds on this issue? aside from clearing model cache? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@reasecret Thanks for reporting this. It would really help if you could contribute a PR with a failing test, or even with the complete solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have Project, Service, User and Bookmark models. A user can bookmark a project, a service or another user.
Project, Service, Bookmark and User models are cachable.
User model:
Bookmark model:
The problem is, when user deleted a bookmark, database record deleting but cache not flushing and there is no error. I have to use modelCache:clear. And if I remove Cachable from models there is no problem.
Delete function (Other functions are same. Except bookmarkable_type):
Environment
Beta Was this translation helpful? Give feedback.
All reactions