You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using EntityHooks to ensure that i record an updatedAt date
EntityHook.subscribe { entityChange ->
if (entityChange.changeType == EntityChangeType.Updated) {
if (entityChange.entityClass == FanArtistTable.FanArtist) entityChange.toEntity(FanArtistTable.FanArtist)?.updatedAt = DateTime.now()
}
}
however, when I do, I see this a lot
ERROR Exposed - Entity instance in cache differs from the provided: FanArtist with ID b8dc8bb6-4ddc-48bb-b528-9510a86935bc. Changes on entity could be missed.
if I remove the hook, everything is fine.
exposed 0.59.0
The text was updated successfully, but these errors were encountered:
i am using EntityHooks to ensure that i record an updatedAt date
however, when I do, I see this a lot
ERROR Exposed - Entity instance in cache differs from the provided: FanArtist with ID b8dc8bb6-4ddc-48bb-b528-9510a86935bc. Changes on entity could be missed.
if I remove the hook, everything is fine.
exposed 0.59.0
The text was updated successfully, but these errors were encountered: