Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

fix: make connector patch ItemCache only once (#1128) #1130

Merged
merged 1 commit into from
Oct 2, 2020
Merged

Conversation

DiegoCardoso
Copy link

CP from #1128

Previous fix for client and server grids on the same page was to
store the original `ensureSubCacheForScaledIndex` method before it
was patched by connector, but that introduced a stack overflow
error after a second grid is added from the server.

This fix makes ItemCache patching to happen only once the first
server grid is added, and prevents it from happening after other
grids are added.

Fixes #1077
@DiegoCardoso DiegoCardoso merged commit dd7aa20 into 4.2 Oct 2, 2020
@DiegoCardoso DiegoCardoso deleted the cp/1128-4.2 branch October 2, 2020 08:41
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants